Skip to content
This repository was archived by the owner on May 17, 2021. It is now read-only.

Conversation

@alenakhineika
Copy link
Contributor

The filter expression was not valid when using $expr to query documents.
Example: {"$expr": {"$gt": ["$sold", "$total"]}}

Copy link

@aherlihy aherlihy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks right but I would add a second test for using $expr in a nested expression, and not just top-level

@alenakhineika alenakhineika merged commit 74f9c73 into master Apr 15, 2019
@alenakhineika alenakhineika deleted the COMPASS-3485-expr-query-validation branch April 15, 2019 10:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants