Skip to content

Commit 10f9a13

Browse files
ianf-mongodbjeff-allen-mongo
authored andcommitted
DOCS-14228 Clarified updateExisting functionality
1 parent e5a39a9 commit 10f9a13

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

297297
- boolean
298298

299-
- Contains ``true`` if an ``update`` operation modified an existing document.
299+
- Contains ``true`` if an ``update`` operation:
300+
301+
- Modified an existing document.
302+
- Found the document, but it was already in the
303+
desired destination state so no update actually occurred.
300304

301305

302306

0 commit comments

Comments
 (0)