MongoDB Kotlin Sync Driver
Introduction
Welcome to the documentation site for the MongoDB Kotlin Sync Driver, the official MongoDB driver for synchronous Kotlin applications. Download the driver by using Maven or Gradle, or set up a runnable project by following our Quick Start guide.
Tip
Other Kotlin Platforms for MongoDB
If your Kotlin application requires asynchronous processing, use the Coroutine Driver, which uses coroutines for server-side applications.
If you are developing an Android or Kotlin Multiplatform (KMP) application, you can use the MongoDB Atlas Device Kotlin SDK to implement Device Sync and to manage your Realm data.
Get Started
Learn how to install the driver, establish a connection to MongoDB, and begin working with data in the Get Started with the Kotlin Sync Driver tutorial.
Connect to MongoDB
Learn how to create and configure a connection to a MongoDB deployment in the Connect to MongoDB section.
What's New
For a list of new features and changes in each version, see the What's New section.
Write Data to MongoDB
Learn how you can write data to MongoDB in the Write Data to MongoDB section.
Read Data from MongoDB
Learn how you can retrieve data from MongoDB in the Read Data from MongoDB section.
Optimize Queries with Indexes
Learn how to work with common types of indexes in the Optimize Queries by Using Indexes section.
Transform Your Data with Aggregation
Learn how to use the Kotlin Sync driver to perform aggregation operations in the Transform Your Data with Aggregation section.
Specialized Data Formats
Learn how to work with specialized data formats and custom types in the Specialized Data Formats section.
FAQ
For answers to commonly asked questions about the Kotlin Sync driver, see the FAQ section.
Connection Troubleshooting
For solutions to some issues you might experience when connecting to a MongoDB deployment while using the Kotlin Sync driver, see the Connection Troubleshooting section.
Issues & Help
Learn how to report bugs, contribute to the driver, and find more resources for asking questions and receiving help in the Issues & Help section.
Compatibility
For the compatibility charts that show the recommended Kotlin Sync driver version for each MongoDB Server version, see the Compatibility section.
Validate Driver Artifact Signatures
Learn about how to validate signatures of Kotlin Sync driver artifacts published on Maven in the Validate Driver Artifact Signatures section.
Learn
Visit the Developer Hub to learn more about the MongoDB Kotlin Sync Driver.
Developer Hub
The Developer Hub provides tutorials and social engagement for developers.
To learn how to use MongoDB features with the Kotlin Sync driver, see the How-Tos and Articles page.
To ask questions and engage in discussions with fellow developers who use the Kotlin Sync driver, see the forums page.