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

Create a $_internalSchemaAllElemMatchFromIndex MatchExpression

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.12
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • Query 2017-07-10, Query 2017-07-31, Query 2017-08-21

      Proposed Syntax
      { <field>: { $allElemMatchFromIndex: [<index>, {<query1>, <query2>, ... } ] } }
      

      This operator matches documents that contain an array field where every element starting at index <index> matches all the specified query criteria.

      <index> must be a nonnegative integer.

            Assignee:
            anne.lim Anne Lim
            Reporter:
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: