Create $_internalSchemaMinLength and $_internalSchemaMaxLength MatchExpressions

XMLWordPrintableJSON

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

      Create a $_internalSchemaMinLength MatchExpression, which takes a positive integer. It matches string fields whose length are at least the specified value:

      {"path.to.match": {$_internalSchemaMinLength: <integer>}}
      

      $_internalSchemaMaxLength works similarly for maximum length.

      {"path.to.match": {$_internalSchemaMaxLength: <integer>}}
      

      Then, we can use these expression to emit MatchExpressions for the JSON Schema "minLength" and "maxLength" keywords.

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

              Created:
              Updated:
              Resolved: