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...
- related to
-
COMPASS-3552 Compass Aggregation Builder gives "n.map is not a function" error for valid MongoShell / PyMongo aggregation
- Closed