$expr query is not valid

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.17.0
    • Component/s: Compass, Query
    • None
    • Environment:
      MacOS Mojave
    • Iteration Antelope, Iteration Bison, Iteration Cat
    • Not Needed
    • None

      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...

              Assignee:
              Alena Khineika
              Reporter:
              Pierre Bazoge
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: