Skip to content

Support $expr via criteria query. #4316

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Support $expr via criteria query. #4316

wants to merge 3 commits into from

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