Method: Mongoid::Atomic#atomic_array_pulls

Defined in:
lib/mongoid/atomic.rb

#atomic_array_pullsHash

For array fields these are the pulls that need to happen.

Examples:

Get the array pulls.

person.atomic_array_pulls

Returns:

  • (Hash)

    The array pulls.

Since:

  • 2.4.0



89
90
91
# File 'lib/mongoid/atomic.rb', line 89

def atomic_array_pulls
  @atomic_array_pulls ||= {}
end