Sha256: 36945ff3ec5f3a6db8d05ac4c1f979c19f2cf4f4dc4e1abe11e671c69c508762
Contents?: true
Size: 550 Bytes
Versions: 32
Compression:
Stored size: 550 Bytes
Contents
# encoding: utf-8 module Mongoid module Persistence module Atomic # This class provides the ability to perform an explicit $push modification # on a specific field. class Push include Operation # Sends the atomic $push operation to the database. # # @example Persist the new values. # push.persist # # @return [ Object ] The new array value. # # @since 2.0.0 def persist append_with("$push") end end end end end
Version data entries
32 entries across 32 versions & 2 rubygems