This method is deprecated or moved on the latest stable version.
The last existing version (v4.1.8) is shown here.
query(sql, name = nil)
public
Queries the database and returns the results in an Array-like object
# File activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb, line 118
def query(sql, name = nil) #:nodoc:
log(sql, name) do
result_as_array @connection.async_exec(sql)
end
end