Module: Sequel::ActiveRecordConnection::Mysql2

Defined in:
lib/sequel/extensions/activerecord_connection/mysql2.rb

Instance Method Summary collapse

Instance Method Details

#synchronizeObject



6
7
8
9
10
11
12
13
# File 'lib/sequel/extensions/activerecord_connection/mysql2.rb', line 6

def synchronize(*)
  super do |conn|
    # required for prepared statements
    Utils.add_prepared_statements_cache(conn)

    yield conn
  end
end