DATAMONGO-1548 - Add support for MongoDB 3.4 aggregation operators.

We now support the following MongoDB 3.4 aggregation operators:

$indexOfBytes, $indexOfCP, $split, $strLenBytes, $strLenCP, $substrCP, $indexOfArray, $range, $reverseArray, $reduce, $zip, $in, $isoDayOfWeek, $isoWeek, $isoWeekYear, $switch and $type.

Original pull request: #423.
This commit is contained in:
Christoph Strobl
2016-12-06 20:15:45 +01:00
committed by Mark Paluch
parent d297f5a253
commit 4fcc09c6c1
8 changed files with 2002 additions and 32 deletions

View File

@@ -1688,26 +1688,28 @@ At the time of this writing we provide support for the following Aggregation Ope
| abs, add (*via plus), ceil, divide, exp, floor, ln, log, log10, mod, multiply, pow, sqrt, subtract (*via minus), trunc
| String Aggregation Operators
| concat, substr, toLower, toUpper, stcasecmp
| concat, substr, toLower, toUpper, stcasecmp, indexOfBytes, indexOfCP, split, strLenBytes, strLenCP, substrCP,
| Comparison Aggregation Operators
| eq (*via: is), gt, gte, lt, lte, ne
| Array Aggregation Operators
| arrayElementAt, concatArrays, filter, isArray, size, slice
| arrayElementAt, concatArrays, filter, in, indexOfArray, isArray, range, reverseArray, reduce, size, slice, zip
| Literal Operators
| literal
| Date Aggregation Operators
| dayOfYear, dayOfMonth, dayOfWeek, year, month, week, hour, minute, second, millisecond, dateToString
| dayOfYear, dayOfMonth, dayOfWeek, year, month, week, hour, minute, second, millisecond, dateToString, isoDayOfWeek, isoWeek, isoWeekYear
| Variable Operators
| map
| Conditional Aggregation Operators
| cond, ifNull
| cond, ifNull, switch
| Type Aggregation Operators
| type
|===