--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: []

comment: 
- !ruby/struct:SM::Flow::P 
  body: The Conditions module contains classes used as part of a Query when filtering collections of resources.
- !ruby/struct:SM::Flow::P 
  body: "The Conditions module contains two types of class used for filtering queries: Comparison and Operation. Although these are used on all repositorie types -- not just SQL-based repos -- these classes are best thought of as being the DataMapper counterpart to an SQL WHERE clause."
- !ruby/struct:SM::Flow::P 
  body: Comparisons compare properties and relationships with values, while operations tie Comparisons together to form more complex expressions.
- !ruby/struct:SM::Flow::P 
  body: "For example, the following SQL query fragment:"
- !ruby/struct:SM::Flow::VERB 
  body: "  ... WHERE my_field = my_value AND another_field = another_value ...\n"
- !ruby/struct:SM::Flow::P 
  body: ... would be represented as two EqualToComparison instances tied together with an AndOperation.
- !ruby/struct:SM::Flow::P 
  body: Conditions -- together with the Query class -- allow DataMapper to represent SQL-like expressions in an ORM-agnostic manner, and are used for both in-memory filtering of loaded Collection instances, and by adapters to retrieve records directly from your repositories.
- !ruby/struct:SM::Flow::P 
  body: The classes contained in the Conditions module are for internal use by DataMapper and DataMapper plugins, and are not intended to be used directly in your applications.
constants: []

full_name: DataMapper::Query::Conditions
includes: []

instance_methods: []

name: Conditions
superclass: 
