MongoDB C Driver
Introduction
Welcome to the documentation site for the MongoDB C Driver, also known as libmongoc, the official MongoDB driver for C applications.
Get Started
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.
Connect to MongoDB
Learn how to create and configure a connection to a MongoDB deployment in the Connect to MongoDB section.
Databases and Collections
Learn how to use the C driver to work with MongoDB databases and collections in the Databases and Collections 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 by Using Indexes
Learn how to work with common types of indexes in the Optimize Queries by Using Indexes section.
Monitoring
Learn how to monitor change events in the Monitor Your Application section.
Secure Your Data
Learn about ways you can authenticate your application and encrypt your data in the Secure Your Data section.
Transform Your Data with Aggregation
Learn how to use the C driver to perform aggregation operations in the Transform Your Data with Aggregation section.
Install From Source
Learn how to build the libmongoc
and libbson
libraries from their source
code in the Building the C Driver Libraries from Source section.
Configure Operations on Replica Sets
Learn how to configure read and write operations on a replica set in the Configure Operations on Replica Sets section.
What's New
For a list of new features and changes in each version, see the What's New section.
Compatibility
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.
Upgrade Driver Versions
Learn what changes you might need to make to your application to upgrade driver versions in the Upgrade Driver Versions section.
Learn
Visit the Developer Hub to learn more about the MongoDB C Driver.
Developer Hub
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.