[SERVER-10370] Count does not obey limit() Created: 29/Jul/13 Updated: 10/Dec/14 Resolved: 29/Jul/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.5.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Hows | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
Count does not obey limit() parameter when passed. Limiting the range of a count can be useful when you only wish to know if you have at least a certain number of matching documents. Count
Itcount
|
| Comments |
| Comment by Scott Hernandez (Inactive) [ 29/Jul/13 ] | ||||
|
You have to pass count a true argument to include the skip/limit.
| ||||
| Comment by Eliot Horowitz (Inactive) [ 29/Jul/13 ] | ||||