Skip to content

Commit 71ec9f0

Browse files
committed
DOCS-505 update api change
1 parent 67ee40d commit 71ec9f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/reference/method/db.collection.update.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ db.collection.update()
88

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

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

192192
.. code-block:: javascript
193193

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

0 commit comments

Comments
 (0)