Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-2095

validation nullable - value equal to null includes value missing

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • 1.18.0
    • Affects Version/s: None
    • Component/s: Document Validation
    • None

      Related to COMPASS-72 and "Nullable" constraint.

      In our query language a:null matches documents where field a does not exist.

      So it's sufficient for Nullable true to have value field:null and exists:false is redundant when equality with null is present.

            Assignee:
            Unassigned Unassigned
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: