[DOCS-5858] Comment on: "manual/reference/operator/update/min.txt" Created: 16/Jul/15  Updated: 03/Nov/17  Resolved: 16/Jul/15

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

Type: Bug Priority: Major - P3
Reporter: Jussi Jääskeläinen Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

manual

Location: http://docs.mongodb.org/manual/reference/operator/update/min/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36
Referrer: http://docs.mongodb.org/manual/reference/operator/update/unset/
Screen Resolution: 1920 x 1200
repo: docs
source: reference/operator/update/min


Participants:
Days since reply: 8 years, 30 weeks, 6 days ago

 Description   

Error at:
The next operation has no effect since the current value of the field lowScore, i.e 150, is less than 200:

db.scores.update( { _id: 1 }, { $min: { lowScore: 250 } } )

that 200 should be 250 (or vice versa)



 Comments   
Comment by Kay Kim (Inactive) [ 16/Jul/15 ]

Thank you. Updated and will republish later this afternoon.

Comment by Githook User [ 16/Jul/15 ]

Author:

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

Message: DOCS-5858 fix example
Branch: master
https://github.com/mongodb/docs/commit/5ef021319f0bed89800b320a77d28d03aad23df5

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