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

$project should have numeric type coercion operators

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
    • Query

      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.

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

              Created:
              Updated:
              Resolved: