We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee6c119 commit c123304Copy full SHA for c123304
source/reference/command/findAndModify.txt
@@ -357,15 +357,15 @@ The command returns the newly inserted document in the ``value`` field:
357
.. code-block:: sh
358
359
{
360
- "lastErrorObject" : {
361
- "connectionId" : 1,
362
- "updatedExisting" : false,
363
- "upserted" : ObjectId("54f62bbfc85d4472eadea26d"),
364
- "n" : 1,
365
- "syncMillis" : 0,
366
- "writtenTo" : null,
367
- "err" : null,
368
- "ok" : 1
+ "lastErrorObject" : {
+ "connectionId" : 1,
+ "updatedExisting" : false,
+ "upserted" : ObjectId("54f62bbfc85d4472eadea26d"),
+ "n" : 1,
+ "syncMillis" : 0,
+ "writtenTo" : null,
+ "err" : null,
+ "ok" : 1
369
},
370
"value" : {
371
"_id" : ObjectId("54f62bbfc85d4472eadea26d"),
0 commit comments