DATAMONGO-2623 - Add support for $function and $accumulator aggregation operators.

Original pull request: #887.
This commit is contained in:
Christoph Strobl
2020-09-25 13:31:16 +02:00
committed by Mark Paluch
parent 26f0a1c7f9
commit 0ef852a8fc
5 changed files with 689 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
* Reactive SpEL support in `@Query` and `@Aggregation` query methods.
* Aggregation hints via `AggregationOptions.builder().hint(bson).build()`.
* Extension Function `KProperty.asPath()` to render property references into a property path representation.
* Server-side JavaScript aggregation expressions `$function` and `$accumulator` via `ScriptOperators`.
[[new-features.3.0]]
== What's New in Spring Data MongoDB 3.0

View File

@@ -2559,6 +2559,7 @@ The MongoDB Aggregation Framework provides the following types of aggregation op
* Lookup Aggregation Operators
* Convert Aggregation Operators
* Object Aggregation Operators
* Script Aggregation Operators
At the time of this writing, we provide support for the following Aggregation Operations in Spring Data MongoDB:
@@ -2606,6 +2607,9 @@ At the time of this writing, we provide support for the following Aggregation Op
| Object Aggregation Operators
| `objectToArray`, `mergeObjects`
| Script Aggregation Operators
| `function`, `accumulator`
|===
* The operation is mapped or added by Spring Data MongoDB.