Skip to content

Commit 902f61e

Browse files
DOCSP-22871 returnDocument option (#330)
* updated compound ops returnDocument option
1 parent b687a6c commit 902f61e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/fundamentals/crud/compound-operations.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ configurable :doc:`sort </fundamentals/crud/read-operations/sort>` and
5959
:doc:`projection </fundamentals/crud/read-operations/project>` options
6060
that work just like their read operation equivalents.
6161
``findOneAndUpdate()`` and ``findOneAndDelete()`` allow the client to
62-
configure the ``returnOriginal`` option, a boolean that determines if
62+
configure the ``returnDocument`` option, a boolean that determines if
6363
the method returns the pre-update or post-update version of the modified
6464
document.

source/fundamentals/crud/write-operations/pkFactory.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. _node-pkfactory:
22

3-
=================================
3+
==================================
44
Generate Custom Values for ``_id``
5-
=================================
5+
==================================
66

77
.. default-domain:: mongodb
88

0 commit comments

Comments
 (0)