Module: MongoDoc::Criteria

Included in:
Collection
Defined in:
lib/mongo_doc/criteria.rb

Defined Under Namespace

Classes: CriteriaWrapper

Instance Method Summary collapse

Instance Method Details

#criteriaObject

Create a criteria for this Document class

Person.criteria



12
13
14
# File 'lib/mongo_doc/criteria.rb', line 12

def criteria
  CriteriaWrapper.new(self)
end