[DOCS-4219] Comment on: "manual/reference/operator/update/inc.txt" Created: 21/Oct/14  Updated: 16/Mar/15  Resolved: 21/Oct/14

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

Type: Bug Priority: Trivial - P5
Reporter: Docs Collector User (Inactive) Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/operator/update/inc/
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0
Screen Resolution: 1920 x 1080
repo: docs
source: reference/operator/update/inc


Participants:
Days since reply: 9 years, 14 weeks, 6 days ago

 Description   

The documentation says:

"The following update() operation uses the $inc operator to decrease the quantity field by -2 and increase the "metrics.orders" field by 1:"

To be precise, the $inc operator decreases the quantity field by positive 2, rather than negative 2.



 Comments   
Comment by Githook User [ 06/Nov/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4219: fix link
Branch: master
https://github.com/mongodb/docs/commit/33f12e533029813e7b60f8a143317171131ace3c

Comment by Githook User [ 21/Oct/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-4219: clarify decrement
Branch: master
https://github.com/mongodb/docs/commit/bb41b52479717cf6608796664031657d115a405f

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