method
select
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveRecord::ConnectionAdapters::MysqlAdapter
select(sql, name = nil, binds = [])
private
Hide source
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 470 def select(sql, name = nil, binds = []) @connection.query_with_result = true rows = super @connection.more_results && @connection.next_result # invoking stored procedures with CLIENT_MULTI_RESULTS requires this to tidy up else connection will be dropped rows end