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

Create $_internalSchemaMinProperties and $_internalSchemaMaxProperties MatchExpressions

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.11
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Minor Change
    • Query 2017-07-10, Query 2017-07-31

      Proposed Syntax

      Both MatchExpressions accept a positive integer.

      { $_internalSchemaMinProperties: <positiveInteger> }
      { $_internalSchemaMaxProperties: <positiveInteger> }
      

      $_internalSchemaMinProperties ($_internalSchemaMaxProperties) matches an object which has no fewer than (no greater than) <positiveInteger> top-level fields.

            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: