[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 |
||
| 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, |
| 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: |
| 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: |
| 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: |
| Comment by Kay Kim (Inactive) [ 23/Jul/15 ] |
|
Thank you. Will make the correction. Regards, Kay Kim |