Method: ActiveRecord::ConnectionAdapters::DatabaseStatements#select_rows
- Defined in:
- activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
#select_rows(arel, name = nil, binds = [], async: false) ⇒ Object
Returns an array of arrays containing the field values. Order is the same as that returned by columns.
101 102 103 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb', line 101 def select_rows(arel, name = nil, binds = [], async: false) select_all(arel, name, binds, async: async).then(&:rows) end |