[DOCS-1077] Last $inc example should have 'true' for multi field Created: 31/Jan/13  Updated: 30/Oct/23  Resolved: 13/Feb/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-2.2
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Minor - P4
Reporter: Scott Rochford Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

http://docs.mongodb.org/manual/reference/operator/inc/#_S_inc


Participants:
Days since reply: 11 years, 1 week ago

 Description   

Unless I'm much mistaken, the last example on this page:

http://docs.mongodb.org/manual/reference/operator/inc/#_S_inc

Should have ,false,true parameters at the end of the update() to allow updates to multiple records? Isn't that the point that is being made?



 Comments   
Comment by auto [ 13/Feb/13 ]

Author:

{u'date': u'2013-02-13T13:21:28Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: merge: DOCS-1077
Branch: master
https://github.com/mongodb/docs/commit/7003e3128444ecf4df783b281584d48837c35128

Comment by auto [ 13/Feb/13 ]

Author:

{u'date': u'2013-02-13T04:45:52Z', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-1077 add missing multi parameter to update examples
Branch: master
https://github.com/mongodb/docs/commit/9f3a1f3370cc5cd52c8ec7b19764ee40866734ae

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