method
exec_insert
v4.2.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::DatabaseStatements
exec_insert(sql, name, binds, pk = nil, sequence_name = nil)public
Executes insert sql statement in the context of this connection using binds as the bind substitutes. name is logged along with the executed sql statement.