Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
2.5.1
-
None
-
None
-
ALL
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
> db.foo.find().limit(100).count();
|
2994
|
Itcount
> db.foo.find().limit(100).itcount();
|
100
|