method
raw_execute
v7.2.3 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::Trilogy::DatabaseStatements
raw_execute(sql, name, async: false, allow_retry: false, materialize_transactions: true)private
No documentation available.
# File activerecord/lib/active_record/connection_adapters/trilogy/database_statements.rb, line 37
def raw_execute(sql, name, async: false, allow_retry: false, materialize_transactions: true)
log(sql, name, async: async) do |notification_payload|
with_raw_connection(allow_retry: allow_retry, materialize_transactions: materialize_transactions) do |conn|
sync_timezone_changes(conn)
result = conn.query(sql)
while conn.more_results_exist?
conn.next_result
end
verified!
handle_warnings(sql)
notification_payload[:row_count] = result.count
result
end
end
end