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

Expose projection (aggregation) operators in regular find queries

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Query
    • Fully Compatible

      Operators like: ($)add, divide, multiply, hour, etc' can be very useful in regular 'find' queries and not only aggregations.

      Is there any special reason for this lack of consistency between regular 'find' queries and the aggregation framework?

      This is possibly linked to: allow referencing fields on the right-hand-side of operators: SERVER-7623

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            alonho Alon Horev
            Votes:
            4 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: