[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 |
||
| 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. |