Class Mongoid::Persistence::Atomic::PullAll
In: lib/mongoid/persistence/atomic/pull_all.rb
Parent: Object

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

Methods

persist  

Included Modules

Operation

Public Instance methods

Sends the atomic $pullAll operation to the database.

@example Persist the new values.

  pull_all.persist

@return [ Object ] The new array value.

@since 2.0.0

[Validate]