Posted On: Jan 24, 2022

HAQM DocumentDB is a scalable, highly durable, and fully managed database service for operating mission-critical MongoDB workloads.

HAQM DocumentDB continues to increase compatibility with MongoDB and today added support for the following MongoDB APIs and indexing improvements in DocumentDB 3.6 and 4.0:

  • $mergeObjects: Aggregation pipeline operator that combines multiple documents into a single document
  • $reduce: Aggregation operator that applies an expression to each element in an array and combines them into a single value

These capabilities are supported in all regions where HAQM DocumentDB is available. All supported MongoDB APIs and aggregation pipeline capabilities for HAQM DocumentDB can be found here. If you are new to HAQM DocumentDB, the getting started guide will show you how to quickly provision an HAQM DocumentDB cluster and explore the flexibility of the document model. Have questions or feature requests? Email us at: documentdb-feature-request@haqm.com.