method

raw_execute

rails latest stable - Class: ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

raw_execute(sql, name, async: false)
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 626
        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