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

Expose projection (aggregation) operators in regular find queries

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-query Backlog - Query Team
              Reporter:
              alonho Alon Horev
              Participants:
              Votes:
              4 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: