method

select_rows

rails latest stable - Class: ActiveRecord::ConnectionAdapters::MySQL::DatabaseStatements

Method deprecated or moved

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.