Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22586

"count" command should return count as a NumberLong

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • Query Execution
    • Minor Change

    Description

      I've only tested MongoDB 2.4 and 3.2. 2.4 returns {n: double}, and 3.2 returns {n: int32}. Neither seems ideal - I propose that count returns an int64.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated: