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

Create a $_internalSchemaAllElemMatchFromIndex MatchExpression

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.12
    • None
    • Querying
    • None
    • Fully Compatible
    • Query 2017-07-10, Query 2017-07-31, Query 2017-08-21

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: