This method is deprecated or moved on the latest stable version.
The last existing version (v5.0.0.1) is shown here.
select_rows(sql, name = nil, binds = [])
public
Returns an array of arrays containing the field values. Order is the same
as that returned by columns.
# File activerecord/lib/active_record/connection_adapters/mysql/database_statements.rb, line 31
def select_rows(sql, name = nil, binds = [])
select_result(sql, name, binds) do |result|
@connection.next_result while @connection.more_results?
result.to_a
end
end