Amazon DocumentDB (with MongoDB compatibility) now supports 46 additional MongoDB aggregation operators and cursor methods starting from minor version 8.0.1. This release significantly expands query API compatibility, making it easier to migrate MongoDB workloads to Amazon DocumentDB without application code changes.
New capabilities span seven categories:
Accumulators (13): $top, $topN, $bottom, $bottomN, $firstN, $lastN, $maxN, $minN, $count, $median, $percentile, $stdDevPop, $stdDevSamp
Trigonometry (15): $sin, $cos, $tan, $asin, $acos, $atan, $atan2, $sinh, $cosh, $tanh, $asinh, $acosh, $atanh, $degreesToRadians, $radiansToDegrees
Bitwise aggregation (4): $bitAnd, $bitOr, $bitXor, $bitNot
Arithmetic (3): $round, $trunc, $sigmoid
Data size and type (4): $binarySize, $bsonSize, $isNumber, $toUUID
Timestamp (2): $tsIncrement, $tsSecond
Stages and other (5): $sortByCount, $listSearchIndexes, $sampleRate, cursor.min(), cursor.max()
These operators are available starting from Amazon DocumentDB 8.0.1 in all regions where Amazon DocumentDB is available. To learn more, see Supported MongoDB APIs, operations, and data types and Amazon DocumentDB release notes.
Categories: marketing:marchitecture/databases,general:products/amazon-documentdb
Source: Amazon Web Services
Latest Posts
- Amazon Connect Customer dashboards now support reporting on routing steps and agent proficiencies

- Amazon MSK now supports configuring custom domain names for MSK Provisioned clusters

- Amazon ECR now supports 25 replication rules per registry

- Amazon Quick now supports customizable no data messages for visuals







