method
exec_insert
v3.2.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::Mysql2Adapter
exec_insert(sql, name, binds)public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb, line 237
def exec_insert(sql, name, binds)
binds = binds.dup
# Pretend to support bind parameters
execute sql.gsub("\00"") { quote(*binds.shift.reverse) }, name
end