Class Mongoid::Persistence::Atomic::Pull
In: lib/mongoid/persistence/atomic/pull.rb
Parent: Object

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

Methods

persist  

Included Modules

Operation

Public Instance methods

Sends the atomic $pull operation to the database.

@example Persist the new values.

  pull.persist

@return [ Object ] The new array value.

@since 2.1.0

[Validate]