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

$project should have numeric type coercion operators

    XMLWordPrintable

    Details

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

      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

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-query Backlog - Query Team
              Reporter:
              pasette Daniel Pasette
              Participants:
              Votes:
              13 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: