Skip to content

Commit 5540c5b

Browse files
ianf-mongodbjeff-allen-mongo
authored andcommitted
DOCS-14228 Clarified updateExisting functionality
1 parent 5957ab1 commit 5540c5b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

source/reference/command/findAndModify.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,11 @@ The ``lastErrorObject`` embedded document contains the following fields:
344344

345345
- boolean
346346

347-
- Contains ``true`` if an ``update`` operation modified an existing document.
347+
- Contains ``true`` if an ``update`` operation:
348+
349+
- Modified an existing document.
350+
- Found the document, but it was already in the
351+
desired destination state so no update actually occurred.
348352

349353

350354

0 commit comments

Comments
 (0)