instance method raw_execute

Ruby on Rails 7.0.10

Since v7.0.10 Last seen in v7.0.10 Private

Signature

raw_execute(sql, name, async: false)

No documentation comment.

Parameters

sql req
name req
async key = false
Source
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 639
        def raw_execute(sql, name, async: false)
          materialize_transactions
          mark_transaction_written_if_write(sql)

          log(sql, name, async: async) do
            ActiveSupport::Dependencies.interlock.permit_concurrent_loads do
              @connection.query(sql)
            end
          end
        end

Defined in activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb line 639 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter

Type at least 2 characters to search.

↑↓ navigate · open · esc close