method
execute
v5.1.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::DatabaseStatements
execute(sql, name = nil)public
Executes the SQL statement in the context of this connection and returns the raw result from the connection adapter. Note: depending on your database connector, the result returned by this method may be manually memory managed. Consider using the exec_query wrapper instead.