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

SQL DISTINCT operator on array fields

    • Query

      consider the following document:

      {a:[1,2,2,2,3,3,4,4,5]}

      There isn't an efficient way of getting the unique values of the field "a".
      This applies to, the $project aggregation operator and a find query.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            vjalilov@rivetlogic.com Vagif Jalilov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: