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

Create a $_internalSchemaObjectMatch MatchExpression

    XMLWordPrintableJSON

Details

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

    Description

      Proposed Syntax

      { <path>: $_internalSchemaObjectMatch: {
              <ObjectConstraintMatchExpression>,
              <ObjectConstraintMatchExpression>,
              ...
          }
      }
      

      Proposed Semantics

      The field at <path> matches the expression if it is an object and matches the sub-expression <topLevelMatchExpression>. $_internalSchemaObjectMatch allows for constraining the properties of a nested object, as top-level match expressions on their own cannot be used to constrain a subobject.

      Attachments

        Activity

          People

            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: