[DOCS-2110] fix update() parameters table Created: 18/Oct/13  Updated: 17/Feb/15  Resolved: 22/Jan/14

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

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 4 weeks ago

 Description   

Given that we state the syntax:

{ upsert: <Boolean>,
multi: <Boolean>
}

and then also specify the 2.2 syntax

{ <query>, <update>, <upsert>, <multi> }

then when we state that upsert can be either a Document or a Boolean, which is kind of confusing since it seems to suggest

{ upsert: <document> }

which is nonsensical for either the latest syntax or the 2.2 syntax. Ditto with multi.



 Comments   
Comment by Githook User [ 22/Jan/14 ]

Author:

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

Message: DOCS-2110 DOCS-2345 tweaks to update method
Branch: v2.4
https://github.com/mongodb/docs/commit/3aa0c62baecd49c2b7d50459eae895010cc6feb0

Comment by Githook User [ 22/Jan/14 ]

Author:

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

Message: DOCS-2110 DOCS-2345 tweaks to update method
Branch: master
https://github.com/mongodb/docs/commit/667a2513ddc8c9e885fb1bc721a680603b0268f7

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