Class Mongoid::Persistence::Atomic::Rename
In: lib/mongoid/persistence/atomic/rename.rb
Parent: Object

Performs an atomic rename operation.

Methods

persist  

Included Modules

Operation

Public Instance methods

Sends the atomic $inc operation to the database.

@example Persist the new values.

  inc.persist

@return [ Object ] The new integer value.

@since 2.1.0

[Validate]