Module: Mongoid::OptimisticLocking

Extended by:
ActiveSupport::Concern
Includes:
Deprecated, LockVersion, Operations, Unlocked
Defined in:
lib/mongoid/optimistic_locking.rb,
lib/mongoid/optimistic_locking/version.rb,
lib/mongoid/optimistic_locking/unlocked.rb,
lib/mongoid/optimistic_locking/deprecated.rb,
lib/mongoid/optimistic_locking/operations.rb,
lib/mongoid/optimistic_locking/lock_version.rb,
lib/mongoid/optimistic_locking/threaded_with_unlocked.rb

Overview

What is Optimistic Locking

See <api.rubyonrails.org/classes/ActiveRecord/Locking/Optimistic.html>.

Usage

TODO …

Defined Under Namespace

Modules: Deprecated, LockVersion, Operations, ThreadedWithUnlocked, Unlocked

Constant Summary collapse

VERSION =
'0.0.4'

Constants included from LockVersion

LockVersion::LOCKING_FIELD

Method Summary

Methods included from Unlocked

#optimistic_locking?, #unlocked

Methods included from Operations

#atomic_selector, #insert, #remove, #update

Methods included from Deprecated

#save_optimistic!