[DATAMONGO-1845] Add support for $expr to Criteria query. Created: 09/Jan/18  Updated: 09/Jan/18

Status: Open
Project: Spring Data MongoDB
Component/s: Core
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Christoph Strobl Assignee: Christoph Strobl
Resolution: Unresolved Votes: 2
Labels: lovelace
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Reference URL: https://docs.mongodb.com/manual/reference/operator/query/expr/
Last updater: Christoph Strobl

 Description   

Allow usage of Aggregation expressions in filter queries using $expr.

db.monthlyBudget.find( { $expr: { $gt: [ "$spent" , "$budget" ] } } )

Generated at Mon May 25 02:57:14 UTC 2020 using Jira 8.5.4#805004-sha1:0444eab799707f9ad7b248d69f858774aadfd250.