文档菜单

MongoDB与C

在 MongoDB 的支持下构建高性能应用程序Atlas 云数据库 使用 MongoDB 的 C 驱动程序。

开始使用 MongoDB C 驱动程序
C landing page hero image

MongoDB C 驱动程序由两个库组成,libbsonlibmongoclibbson 库支持使用 BSON 文档,MongoDB 的原生数据格式,而 libmongoc 库包含驱动程序,该驱动程序将您的 C 应用程序连接到 MongoDB。

Driver card icon

libbson

提供了一个 API 来支持构建、解析和转换 BSON 文档。

Driver card icon

libmongoc

提供了一个 API,用于与 MongoDB 数据库进行操作,与其他 MongoDB 语言驱动程序保持一致。

DevHub icon

查看 C 开发者资源

C 资源 →

Learn icon

参加 C 入门课程

了解 C 和 MongoDB →

Community icon

加入论坛和讨论

MongoDB 社区 →