Method: DataMapper::Collection#query

Defined in:
lib/dm-core/collection.rb

#queryQuery (readonly)

Returns the Query the Collection is scoped with

Returns:

  • (Query)

    the Query the Collection is scoped with



27
28
29
# File 'lib/dm-core/collection.rb', line 27

def query
  @query
end