Class: Mongoid::Relations::Embedded::Atomic::Unset
- Defined in:
- lib/mongoid/relations/embedded/atomic/unset.rb
Instance Attribute Summary
Attributes inherited from Operation
#documents, #options, #path, #selector
Instance Method Summary collapse
-
#operations ⇒ Hash
Get the merged operations for the single atomic set.
Methods inherited from Operation
#consume, #consumed?, #execute
Instance Method Details
#operations ⇒ Hash
Get the merged operations for the single atomic set.
17 18 19 |
# File 'lib/mongoid/relations/embedded/atomic/unset.rb', line 17 def operations { "$unset" => { path => true } } end |