method
exec_insert
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::DatabaseStatements
exec_insert(sql, name = nil, 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.