method

query

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 (v7.0.0) is shown here.

query(sql, name = nil)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/mysql/database_statements.rb, line 18
        def query(sql, name = nil) # :nodoc:
          execute(sql, name).to_a
        end