Class Mongoid::Persistence::Atomic::PushAll
In: lib/mongoid/persistence/atomic/push_all.rb
Parent: Object

This class provides the ability to perform an explicit $pushAll modification on a specific field.

Methods

persist  

Included Modules

Operation

Public Instance methods

Sends the atomic $pushAll operation to the database.

@example Persist the new values.

  pushAll.persist

@return [ Object ] The new array value.

@since 2.1.0

[Validate]