Docs Menu
Docs Home
/ /

MongoDB C Driver

Welcome to the documentation site for the MongoDB C Driver, also known as libmongoc, the official MongoDB driver for C applications.

Learn how to install the driver, establish a connection to MongoDB, and begin working with data in the Get Started with the C Driver tutorial.

Learn how to create and configure a connection to a MongoDB deployment in the Connect to MongoDB section.

Learn how to use the C driver to work with MongoDB databases and collections in the Databases and Collections section.

Learn how you can write data to MongoDB in the Write Data to MongoDB section.

Learn how you can retrieve data from MongoDB in the Read Data from MongoDB section.

Learn how to work with common types of indexes in the Optimize Queries by Using Indexes section.

Learn how to monitor change events in the Monitor Your Application section.

Learn about ways you can authenticate your application and encrypt your data in the Secure Your Data section.

Learn how to use the C driver to perform aggregation operations in the Transform Your Data with Aggregation section.

Learn how to build the libmongoc and libbson libraries from their source code in the Building the C Driver Libraries from Source section.

Learn how to configure read and write operations on a replica set in the Configure Operations on Replica Sets section.

For a list of new features and changes in each version, see the What's New section.

To learn about the versions of the MongoDB Server and the C language that are compatible with each version of the C driver, see the Compatibility section.

Learn what changes you might need to make to your application to upgrade driver versions in the Upgrade Driver Versions section.

Visit the Developer Hub to learn more about the MongoDB C Driver.

The Developer Hub provides tutorials and social engagement for developers.

To learn how to use MongoDB features with the C driver, see the How-Tos and Articles page.

To ask questions and engage in discussions with fellow developers who use the C driver, see the forums page.

Next

Get Started