method

raw_execute

rails latest stable - Class: ActiveRecord::ConnectionAdapters::MySQL::DatabaseStatements

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/mysql/database_statements.rb, line 91
          def raw_execute(sql, name, async: false)
            # make sure we carry over any changes to ActiveRecord.default_timezone that have been
            # made since we established the connection
            @connection.query_options[:database_timezone] = ActiveRecord.default_timezone

            super
          end