[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 Tue Nov 12 01:21:26 UTC 2019 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.