method
exec_query
v6.1.7.7 -
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.