Module: ActiveRecord::ConnectionAdapters::Mysql2::DatabaseStatements

Included in:
ActiveRecord::ConnectionAdapters::Mysql2Adapter
Defined in:
lib/active_record/connection_adapters/mysql2/database_statements.rb

Instance Method Summary collapse

Instance Method Details

#select_allObject

Returns an ActiveRecord::Result instance.



8
9
10
11
12
13
14
# File 'lib/active_record/connection_adapters/mysql2/database_statements.rb', line 8

def select_all(*, **) # :nodoc:
  if ExplainRegistry.collect? && prepared_statements
    unprepared_statement { super }
  else
    super
  end
end