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

$exists operator

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 0.9.8
    • None
    • Usability
    • None

    Description

      Please add an operator named "$exists" which checks if a certain path exists in a document.

      Example:

      Syntax:

      { 'a.b.c.$exists' 1 }

      => returns all documents which have a nested document "b" with a key "c"

      Attachments

        Activity

          People

            aaron Aaron Staple
            x6j8x Sascha Matzke
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: