Method: ToughGuy::Query#update_values
- Defined in:
- lib/toughguy/query.rb
#update_values(doc, opts = {}) ⇒ Object
142 143 144 |
# File 'lib/toughguy/query.rb', line 142 def update_values(doc, opts={}) collection.update(criteria.to_hash, doc, opts) end |