Class Mongoid::Persistence::Atomic::Unset
In: lib/mongoid/persistence/atomic/unset.rb
Parent: Object

Performs atomic $unset operations.

Methods

persist  

Included Modules

Operation

Public Instance methods

Sends the atomic $unset operation to the database.

@example Persist the new values.

  unset.persist

@return [ nil ] The new value.

@since 2.1.0

[Validate]