method
exec_query
v5.0.0.1 -
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.