Create a $_internalSchemaMatchArrayElement MatchExpression

XMLWordPrintableJSON

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

      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.

            Assignee:
            Kyle Suarez (Inactive)
            Reporter:
            Kyle Suarez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: