Skip to content

Commit 6177276

Browse files
ianf-mongodbjeff-allen-mongo
authored andcommitted
DOCS-14228 Clarified updateExisting functionality
1 parent 41e966f commit 6177276

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
@@ -325,7 +325,11 @@ The ``lastErrorObject`` embedded document contains the following fields:
325325

326326
- boolean
327327

328-
- Contains ``true`` if an ``update`` operation modified an existing document.
328+
- Contains ``true`` if an ``update`` operation:
329+
330+
- Modified an existing document.
331+
- Found the document, but it was already in the
332+
desired destination state so no update actually occurred.
329333

330334

331335

0 commit comments

Comments
 (0)