instance method select_all

Ruby on Rails 5.0.7.2

Since v5.0.7.2 Last seen in v5.0.7.2

Signature

select_all(arel, name = nil, binds = [], preparable: nil)

Returns an ActiveRecord::Result instance.

Parameters

arel req
name opt = nil
binds opt = []
preparable key = nil
Source
# File activerecord/lib/active_record/connection_adapters/mysql/database_statements.rb, line 6
        def select_all(arel, name = nil, binds = [], preparable: nil)
          result = if ExplainRegistry.collect? && prepared_statements
            unprepared_statement { super }
          else
            super
          end
          @connection.next_result while @connection.more_results?
          result
        end

Defined in activerecord/lib/active_record/connection_adapters/mysql/database_statements.rb line 6 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::MySQL::DatabaseStatements

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close