**[Christoph Strobl](https://jira.spring.io/secure/ViewProfile.jspa?name=cstrobl)** opened **[DATAMONGO-1845](https://jira.spring.io/browse/DATAMONGO-1845?redirect=false)** and commented Allow usage of Aggregation expressions in filter queries using `$expr`. ```javascript db.monthlyBudget.find( { $expr: { $gt: [ "$spent" , "$budget" ] } } ) ``` --- **Reference URL:** https://docs.mongodb.com/manual/reference/operator/query/expr/ 3 votes, 3 watchers