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

$project should have numeric type coercion operators

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Aggregation Framework
    • Query

    Description

      We should be able to force conversion between NumberInt(), NumberLong(), and JavaScript double precision floating point numbers in order to normalize the output from situations like that in SERVER-5209. The best thing to do would be to have explicit coercion expressions available in $project.

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            13 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: