Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/reference/method/db.collection.update.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ db.collection.update()

.. versionchanged:: 2.2
The :program:`mongo` shell adds an updated interface that
accepts an parameters in more clear :term:`document` form to
accepts parameters in a more clear :term:`document` form to
specify ``multi`` and ``upsert`` options.

The :method:`update() <db.collection.update()>` method provides the ability to
Expand Down Expand Up @@ -191,4 +191,4 @@ db.collection.update()

.. code-block:: javascript

db.products.update( { item: "magazine", qty: { $gt: 5 } }, { $set: { x: 25, y: 50 } }, { upsert: true } )
db.products.update( { item: "magazine", qty: { $gt: 5 } }, { $set: { x: 25, y: 50 } }, true )