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

$expr query is not valid

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • 1.17.0
    • Compass, Query
    • None
    • MacOS Mojave
    • Not Needed
    • Iteration Antelope, Iteration Bison, Iteration Cat

    Description

      The filter expression is not valid when using $expr to query documents.

      Example: {$expr: {$gt: [15,10]}}

       

      I use Compass to test complex queries before implementing them, but the validator is not working well, and it's not the first time... maybe we could get rid of the validator in a future release?

      A DB error is better than a broken validator...

      Attachments

        Activity

          People

            alena.khineika@mongodb.com Alena Khineika
            contact@aetium.com Pierre Bazoge
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: