Parent

Methods

Class/Module Index [+]

Quicksearch

Mongoid::Persistence::Atomic::PushAll

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

Public Instance Methods

persist() click to toggle source

Sends the atomic $pushAll operation to the database.

@example Persist the new values.

pushAll.persist

@return [ Object ] The new array value.

@since 2.1.0

# File lib/mongoid/persistence/atomic/push_all.rb, line 18
def persist
  append_with("$pushAll")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.