[DOCS-1336] create examples of update() with {upsert: true} Created: 03/Apr/13  Updated: 25/Aug/14  Resolved: 25/Aug/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.10

Type: Bug Priority: Major - P3
Reporter: Andre de Frere Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 1
Labels: newwriter
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:
Days since reply: 9 years, 25 weeks, 2 days ago

 Comments   
Comment by Githook User [ 25/Aug/14 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-1336 update with upsert: true plus some reorg
Branch: master
https://github.com/mongodb/docs/commit/5887949064912e3fc5fc44b222179619a06313d3

Comment by Sam Kleinman (Inactive) [ 17/Sep/13 ]

Agreed!

Comment by Zack Brown [ 17/Sep/13 ]

That page redirects here: http://docs.mongodb.org/manual/tutorial/modify-documents/

I'm assuming that's the page that should be updated for this ticket.

Comment by Sam Kleinman (Inactive) [ 04/Apr/13 ]

agreed. if any page needs revision, it's this one: http://docs.mongodb.org/manual/applications/update/

Comment by Scott Hernandez (Inactive) [ 04/Apr/13 ]

We should create a page/section for how inserts are done if upsert is true and no matching documents are found. This page will describe how the query + modifiers result in the document which is inserted. We should show examples so it is clear and pay special attention to the case of non-equality matches in the query and resulting documents for the insert.

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