DATAMONGO-2052 - Add support for $arrayToObject and $objectToArray aggregation operators.

Original pull request: #603.
This commit is contained in:
Christoph Strobl
2018-08-14 10:37:37 +02:00
committed by Mark Paluch
parent 9d27d2ff8e
commit 08a57e58fd
5 changed files with 217 additions and 2 deletions

View File

@@ -2128,7 +2128,7 @@ At the time of this writing, we provide support for the following Aggregation Op
| `eq` (*via: `is`), `gt`, `gte`, `lt`, `lte`, `ne`
| Array Aggregation Operators
| `arrayElementAt`, `concatArrays`, `filter`, `in`, `indexOfArray`, `isArray`, `range`, `reverseArray`, `reduce`, `size`, `slice`, `zip`
| `arrayElementAt`, `arrayToObject`, `concatArrays`, `filter`, `in`, `indexOfArray`, `isArray`, `range`, `reverseArray`, `reduce`, `size`, `slice`, `zip`
| Literal Operators
| `literal`
@@ -2149,7 +2149,7 @@ At the time of this writing, we provide support for the following Aggregation Op
| `convert`, `toBool`, `toDate`, `toDecimal`, `toDouble`, `toInt`, `toLong`, `toObjectId`, `toString`
| Object Aggregation Operators
| `mergeObjects`
| `objectToArray`, `mergeObjects`
|===
* The operation is mapped or added by Spring Data MongoDB.