Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
Description
Though the count command supports larger values, DBCursor.count() and DBCursor.size() return int, and silently cast the long to int.
We can't really fix this without breaking binary compatibility.
Note that the getCount family of methods in DBCollection all properly return a long.