[DOCS-10632] findAndModify output for upserted field has wrong explanation Created: 03/Aug/17  Updated: 29/Oct/23  Resolved: 30/Aug/17

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

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Allison Reinheimer Moore
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 6 years, 24 weeks ago

 Description   

the upserted field contains the _id of the upserted document. It can be string/object or any valid BSON type, not just ObjectId.



 Comments   
Comment by Githook User [ 30/Aug/17 ]

Author:

{'name': 'Allison Moore', 'username': 'schmalliso', 'email': 'allison.moore@10gen.com'}

Message: DOCS-10632: upserted response includes _id not nec. ObjectId
Branch: v3.4
https://github.com/mongodb/docs/commit/0aa1ec70d5e9ee71b92707798d97b6e973479803

Comment by Githook User [ 30/Aug/17 ]

Author:

{'name': 'Allison Moore', 'username': 'schmalliso', 'email': 'allison.moore@10gen.com'}

Message: DOCS-10632: upserted response includes _id not nec. ObjectId
Branch: master
https://github.com/mongodb/docs/commit/6e2b8dbcaf845fe7fcc88ce9dc3d63ba18e37d88

Generated at Thu Feb 08 08:01:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.