[DOCS-5897] Comment on: "manual/reference/method/cursor.max.txt" Created: 23/Jul/15  Updated: 14/Dec/16  Resolved: 23/Jul/15

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

Type: Bug Priority: Major - P3
Reporter: Rackimuthu Kandaswamy Assignee: Kay Kim (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/method/cursor.max/#cursor.max
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.103 Safari/537.36
Referrer: http://docs.mongodb.org/manual/reference/operator/query-modifier/
Screen Resolution: 1280 x 800
repo: docs
source: reference/method/cursor.max


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

 Description   

Hi,

db.products.find().min(

{ price: 1.39 }

).max(

{ price: 1.99 }

).hint(

{ price: 1 }

)

returns only the following single document:

{ "_id" : 10, "item" : "orange", "type" : "navel", "price" : 1.39 }

but in the document ( http://docs.mongodb.org/manual/reference/method/cursor.max/#cursor.max) , it displays more than one document.

Thanks & Regards,
Racki



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

Will publish tomorrow with the fix. Thanks again.

Comment by Githook User [ 23/Jul/15 ]

Author:

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

Message: DOCS-5897 fix cursor.min/max example
Branch: v2.4
https://github.com/mongodb/docs/commit/4af6784a483b848037dd1cff77ab4f20c310987b

Comment by Githook User [ 23/Jul/15 ]

Author:

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

Message: DOCS-5897 fix cursor.min/max example
Branch: v2.6
https://github.com/mongodb/docs/commit/eb81220ffcaaa0166e6e28f42384dafee4bd7b50

Comment by Githook User [ 23/Jul/15 ]

Author:

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

Message: DOCS-5897 fix cursor.min/max example
Branch: master
https://github.com/mongodb/docs/commit/56e361317bcb4b2510e93a5bf92539644bfc0911

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

Thank you. Will make the correction.

Regards,

Kay Kim

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