You need to enable JavaScript to run this app.
Document Database for MongoDB

Document Database for MongoDB

Copy page
Download PDF
Version introduction
Overview of new features of MongoDB 4.2
Copy page
Download PDF
Overview of new features of MongoDB 4.2
This topic introduces the main new features of MongoDB version 4.2.​
Wildcard indexes​
MongoDB 4.2 introduces the Wildcard Indexes feature, which allows you to query undetermined fields in documents. For more details on Wildcard Indexes, refer to Wildcard Indexes.​
Distributed transactions​
Starting with MongoDB 4.2, multi-document transactions are also referred to as distributed transactions. With the distributed transactions feature, you can perform transactions across multiple operations, collections, databases, documents, and shards while ensuring transaction atomicity. For more details on distributed transactions, refer to Distributed Transactions.​
tip​
Document Database for MongoDB replica set instances support multi-document transactions starting from version 4.0, and sharding cluster instances support distributed transactions starting from MongoDB 4.4.​
Last updated: 2026.01.27 20:19:05