Amazon DocumentDB (with MongoDB compatibility) adds $objectToArray, $arrayToObject, $slice, $mod, and $range Aggregation Pipeline Operators

Posted on: Feb 6, 2020

Amazon DocumentDB (with MongoDB compatibility) is a fast, scalable, highly available, and fully managed document database service that supports MongoDB workloads.  

Amazon DocumentDB continues to increase compatibility with MongoDB and today added support for additional aggregation pipeline capabilities that allow you to compose powerful aggregations over your documents. The new capabilities include the $objectToArray, $arrayToObject, $slice, $mod, and $range aggregation pipeline operators. The supported MongoDB APIs and aggregation pipeline capabilities for Amazon DocumentDB can be found here.  

To use the new features, you can create a new Amazon DocumentDB cluster with just a few clicks in the Amazon DocumentDB Management Console or you can upgrade your existing cluster.  

To learn more, check out our blog post.