Module: MongoDoc::Query

Defined in:
lib/mongodoc/query.rb

Class Method Summary collapse

Class Method Details

.set_modifier(bson_hash) ⇒ Object



3
4
5
# File 'lib/mongodoc/query.rb', line 3

def self.set_modifier(bson_hash)
  {'$set' => bson_hash}
end