Skip to content

Commit 6e2b8db

Browse files
committed
DOCS-10632: upserted response includes _id not nec. ObjectId
1 parent eb8fc33 commit 6e2b8db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/reference/command/findAndModify.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ and returns a document with the following fields:
285285

286286
- The ``lastErrorObject`` field that contains the details of the
287287
command, including the field ``upserted`` that contains the
288-
``ObjectId`` of the newly inserted document, and
288+
``_id`` value of the newly inserted document, and
289289

290290
- The ``value`` field containing ``null``.
291291

0 commit comments

Comments
 (0)