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

validation nullable - value equal to null includes value missing

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • 1.18.0
    • None
    • Document Validation
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: