File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ Example
75
75
^^^^^^^
76
76
77
77
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
79
79
``food`` field in that document to ``"pizza"``.
80
80
81
81
The example also uses a ``FindOneAndUpdateOptions`` instance to specify the
@@ -98,7 +98,7 @@ The output of the preceding code should look like this:
98
98
.. code-block:: json
99
99
:copyable: false
100
100
101
- {"food": "donut ", "color": "green"}
101
+ {"food": "pizza ", "color": "green"}
102
102
103
103
For more information on the ``Projections`` class, see our
104
104
:doc:`guide on the Projections builder </fundamentals/builders/projections/>`.
You can’t perform that action at this time.
0 commit comments