Module: Mongoid::Contextual
- Extended by:
- Forwardable
- Included in:
- Criteria
- Defined in:
- lib/mongoid/contextual.rb,
lib/mongoid/contextual/none.rb,
lib/mongoid/contextual/mongo.rb,
lib/mongoid/contextual/atomic.rb,
lib/mongoid/contextual/memory.rb,
lib/mongoid/contextual/command.rb,
lib/mongoid/contextual/geo_near.rb,
lib/mongoid/contextual/queryable.rb,
lib/mongoid/contextual/map_reduce.rb,
lib/mongoid/contextual/aggregable/mongo.rb,
lib/mongoid/contextual/aggregable/memory.rb
Defined Under Namespace
Modules: Aggregable, Atomic, Command, Queryable Classes: GeoNear, MapReduce, Memory, Mongo, None
Instance Method Summary collapse
-
#context ⇒ Memory, Mongo
Get the context in which criteria queries should execute.