method

select_rows

rails latest stable - Class: ActiveRecord::ConnectionAdapters::Mysql2Adapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) 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.