Class: Mongoid::Relations::Embedded::Atomic::PushAll
- Defined in:
- lib/mongoid/relations/embedded/atomic/push_all.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/push_all.rb', line 17 def operations { "$pushAll" => { path => documents } } end |