method
exec_query
v4.1.8 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::DatabaseStatements
exec_query(sql, name = 'SQL', binds = [])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.