DBCursor.count() and size() return int

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: API, Query Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: