Module
MongoMapper::Plugins::Querying::ClassMethods
In:
lib/mongo_mapper/plugins/querying.rb
Methods
create
create!
criteria_hash
find_by_id
first_or_create
first_or_new
query
scoped
update
Public Instance methods
create
(*docs) {|doc if block_given?| ...}
create!
(*docs) {|doc if block_given?| ...}
criteria_hash
(criteria={})
@api private for now
find_by_id
(id)
first_or_create
(args)
first_or_new
(args)
query
(options={})
@api private for now
scoped
(options={})
Alias for
query
update
(*args)
[Validate]