module Mongoid::Contextual
def create_context
- Since: - 3.0.0
Returns:
-
(Mongo, Memory)- The context.
Other tags:
- Example: Create the context. -
Other tags:
- Api: - private
def create_context return None.new(self) if empty_and_chainable? embedded ? Memory.new(self) : Mongo.new(self) end