[DOCS-9178] Comment on: "manual/reference/method/db.collection.bulkWrite.txt" Created: 20/Oct/16  Updated: 21/Oct/16  Resolved: 21/Oct/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Docs Collector User (Inactive) Assignee: Allison Reinheimer Moore
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.com/v3.2/reference/method/db.collection.bulkWrite/#bulkwrite-write-operations-executionofoperations
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36
Referrer: https://docs.mongodb.com/v3.2/core/bulk-write-operations/
Screen Resolution: 1280 x 800


Participants:
Days since reply: 7 years, 16 weeks, 5 days ago
Story Points: 0.25

 Description   

Bulk Write Error's first example has an error. the id of the second insert should be 4 instead of 5



 Comments   
Comment by Allison Reinheimer Moore [ 21/Oct/16 ]

In the first bulk write example, we show that the operation was successful at inserting, updating, and deleting documents.

We also include the error that would be returned if there was a duplicate _id insert attempt. This is meant to illustrate what the error would look like if there had been an existing document in the database with _id: 5, not to show the response for the operation as described.

Generated at Thu Feb 08 07:57:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.