[SERVER-30034] Create a $_internalSchemaMatchArrayElement MatchExpression Created: 06/Jul/17  Updated: 30/Oct/23  Resolved: 08/Aug/17

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.5.12

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: Kyle Suarez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2017-07-31, Query 2017-08-21
Participants:

 Description   
Proposed Syntax

{
    <path>: {
        $_internalSchemaMatchArrayElement: {
            index: <integer>,
            namePlaceholder: "i",
            expression: <MatchExpression>
        }
    }
}

$_internalSchemaMatchArrayElement matches the array at <path> if the element at index index matches the expression. There is no match if <path> is not an array or if it is an array with insufficient elements.



 Comments   
Comment by Githook User [ 08/Aug/17 ]

Author:

{'username': 'ksuarz', 'email': 'kyle.suarez@mongodb.com', 'name': 'Kyle Suarez'}

Message: SERVER-30034 create a $_internalSchemaMatchArrayIndex match expression
Branch: master
https://github.com/mongodb/mongo/commit/d4ce0f7427e137f1a12b39a0889a468dc2169b6b

Generated at Thu Feb 08 04:22:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.