Module: Alterity::MysqlClientAdditions

Defined in:
lib/alterity/mysql_client_additions.rb

Instance Method Summary collapse

Instance Method Details

#query(sql, options = {}) ⇒ Object



7
8
9
10
11
# File 'lib/alterity/mysql_client_additions.rb', line 7

def query(sql, options = {})
  return super(sql, options) unless Alterity.state.migrating

  Alterity.process_sql_query(sql) { super(sql, options) }
end