Skip to content

Commit a627707

Browse files
author
Chris Cho
authored
DOCSP-29537: fix findAndReplace example output (#386)
1 parent d9078e5 commit a627707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/fundamentals/crud/compound-operations.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Example
7575
^^^^^^^
7676

7777
The following example uses the ``findOneAndUpdate()`` method to find a
78-
document with the ``color`` field set to ``"green"`` and update the
78+
document with the ``color`` field set to ``"green"`` and update the
7979
``food`` field in that document to ``"pizza"``.
8080

8181
The example also uses a ``FindOneAndUpdateOptions`` instance to specify the
@@ -98,7 +98,7 @@ The output of the preceding code should look like this:
9898
.. code-block:: json
9999
:copyable: false
100100

101-
{"food": "donut", "color": "green"}
101+
{"food": "pizza", "color": "green"}
102102

103103
For more information on the ``Projections`` class, see our
104104
:doc:`guide on the Projections builder </fundamentals/builders/projections/>`.

0 commit comments

Comments
 (0)