Repository navigation
Add support for $expr operator - #3790
divyajnu08 wants to merge 3 commits into
Conversation
divyajnu08
commented
Aug 29, 2021
- You have read the Spring Data contribution guidelines.
- You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
- You submit test cases (unit or integration tests) that back your changes.
- You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).
…ields, $set, ... aggregation stages.
|
Thanks for submitting a pull request. We have dedicated operator classes (e.g. Aggregation.addFields().addField("foo")
.withValue(ArithmeticOperators.valueOf("otherField").stdDevPop()).build();
Aggregation.project().and(ArithmeticOperators.valueOf("otherField").stdDevPop()).as("otherFieldStdDevPop"));Accepting |
|
Hi Mark I have removed the operators and added unit tests using ArithmeticOperators. Thanks |
$expr operator
Add license headers. Update Javadoc, author, and since tags. Add tests. Add toCriteriaDefinition method. See #3790
|
Thank you for your contribution. That's merged and polished now. We need to follow up with #3587 to enable a better usage of |