Module: Mongoid::Safety
Overview
The Safety
module is used to provide a DSL to execute database operations in safe mode on a per query basis, either from the Document
class level or instance level.
Defined Under Namespace
Modules: ClassMethods Classes: Proxy
Instance Method Summary collapse
-
#safely(safety = true) ⇒ Proxy
Execute the following class-level persistence operation in safe mode.