instance method
execute
Ruby on Rails 2.3.18
Since v2.2.3Signature
execute(sql, name = nil, skip_logging = false)
Executes the SQL statement in the context of this connection.
Parameters
-
sqlreq -
nameopt = nil -
skip_loggingopt = false
Source
# File activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb, line 38
def execute(sql, name = nil, skip_logging = false)
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb line 38
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::DatabaseStatements