Methods

Class/Module Index [+]

Quicksearch

Mongoid::Relations::Embedded::Atomic::Unset

Public Instance Methods

operations() click to toggle source

Get the merged operations for the single atomic set.

@example Get the operations

set.operations

@return [ Hash ] The set operations.

@since 2.0.0

# File lib/mongoid/relations/embedded/atomic/unset.rb, line 16
def operations
  { "$unset" => { path => true } }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.