[DOCS-9743] Comment on: "manual/reference/operator/update/inc.txt" Created: 09/Jan/17  Updated: 27/Oct/23  Resolved: 09/Jan/17

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

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Works as Designed Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Logical Issue

Location: https://docs.mongodb.com/manual/reference/operator/update/inc/
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Referrer: https://www.google.co.in/
Screen Resolution: 1440 x 900


Participants:
Days since reply: 7 years, 5 weeks, 2 days ago

 Description   

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

in small bracket quantity field should be (i.e. decrease by 2) :

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


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