Method: AnyQuery::Query#to_a

Defined in:
lib/any_query/query.rb

#to_aObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



39
40
41
# File 'lib/any_query/query.rb', line 39

def to_a
  @adapter.load(@model, select: @select, joins: @joins, where: @where, limit: @limit)
end