[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/ |
||
| 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 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: |