Skip to content

Conversation

christophstrobl
Copy link
Member

This PR introduces AggregationExpressionCriteria and Criteria.expr to be used along with Query to run an $expr operator within the find query.

query(whereExpr(valueOf("spent").greaterThan("budget")))

Closes: #2750

This commit introduces AggregationExpressionCriteria to be used along with Query to run an $expr operator within the find query.

query(whereExpr(valueOf("spent").greaterThan("budget")))
Favor Base64 over deprecated Base64Utils.
mp911de pushed a commit that referenced this pull request Mar 6, 2023
This commit introduces AggregationExpressionCriteria to be used along with Query to run an $expr operator within the find query.

query(whereExpr(valueOf("spent").greaterThan("budget")))

Closes: #2750
Original pull request: #4316.
mp911de pushed a commit that referenced this pull request Mar 6, 2023
Favor Base64 over deprecated Base64Utils.

See: #2750
Original pull request: #4316.
mp911de added a commit that referenced this pull request Mar 6, 2023
Reformat code.

See #2750
Original pull request: #4316
@mp911de mp911de added this to the 4.1 M3 (2023.0.0) milestone Mar 6, 2023
@mp911de
Copy link
Member

mp911de commented Mar 6, 2023

That's merged and polished now.

@mp911de mp911de closed this Mar 6, 2023
@mp911de mp911de deleted the issue/2750 branch March 6, 2023 13:34
@mp911de mp911de added the type: enhancement A general enhancement label Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for $expr to Criteria query. [DATAMONGO-1845]
2 participants