Skip to content

Commit 1c52fac

Browse files
author
Sam Kleinman
committed
DOCS-2218: fixing broken link
1 parent dde8b94 commit 1c52fac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/tutorial/modify-documents.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ with the ``multi`` option set to ``true`` to update multiple documents.
2626

2727
The following example finds all documents with ``type`` equal to
2828
``"book"`` and modifies their ``qty`` field by ``-1``. The example uses
29-
:update:`$inc`, which is one of the:ref:`update operators
29+
:update:`$inc`, which is one of the :ref:`update operators
3030
<update-operators>` available.
3131

3232
.. code-block:: javascript
3333

34-
db.inventory.update(
34+
db.inventory.update(
3535
{ type : "book" },
3636
{ $inc : { qty : -1 } },
37-
{ multi: true }
37+
{ multi: true }
3838
)
3939

4040
For more examples, see :method:`~db.collection.update()`.

0 commit comments

Comments
 (0)