instance method
select_rows
Ruby on Rails 4.0.13
Since v4.0.13 Last seen in v4.2.9Signature
select_rows(sql, name = nil, binds = [])
No documentation comment.
Parameters
-
sqlreq -
nameopt = nil -
bindsopt = []
Source
# File activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb, line 353
def select_rows(sql, name = nil, binds = [])
exec_query(sql, name, binds).rows
end
Defined in activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb line 353
· View on GitHub
· Improve this page
· Find usages on GitHub