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

Aggregation does not provide a way to access a specific element of an array

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Aggregation Framework
    • None
    • Query Optimization

    Description

      In query, specifying a sort on 'time.0', where time is an array, will sort the documents according to the first element of that array. Aggregation does not allow users to access an element of an array via field path, i.e., $time.0 is undefined on an array. For feature parity, aggregation should support syntax that gives users the ability to access an element of an array with dot notation.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            benjamin.murphy Benjamin Murphy
            Votes:
            2 Vote for this issue
            Watchers:
            20 Start watching this issue

            Dates

              Created:
              Updated: