method
exec_query
v6.0.0 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::DatabaseStatements
exec_query(sql, name = "SQL", binds = [], prepare: false)public
Executes sql statement in the context of this connection using binds as the bind substitutes. name is logged along with the executed sql statement.