libmongoc - API#
A Cross Platform MongoDB Client Library for C
This site documents the API. For tutorials, guides, and explainers, see MongoDB C Driver.
Introduction#
The MongoDB C Driver, also known as “libmongoc”, is a library for using MongoDB from C applications, and for writing MongoDB drivers in higher-level languages.
It depends on libbson to generate and parse BSON documents, the native data format of MongoDB.
- API Reference
- Initialization and cleanup
- Logging
- Error Reporting
- Object Lifecycle
- GridFS
- mongoc_auto_encryption_opts_t
- mongoc_bulkwrite_t
- mongoc_bulkwriteopts_t
- mongoc_bulkwriteresult_t
- mongoc_bulkwriteexception_t
- mongoc_bulk_operation_t
- mongoc_change_stream_t
- mongoc_client_encryption_t
- mongoc_client_encryption_datakey_opts_t
- mongoc_client_encryption_rewrap_many_datakey_result_t
- mongoc_client_encryption_encrypt_opts_t
- mongoc_client_encryption_encrypt_range_opts_t
- mongoc_client_encryption_opts_t
- mongoc_client_pool_t
- mongoc_client_session_t
- mongoc_client_session_with_transaction_cb_t
- mongoc_client_t
- mongoc_collection_t
- mongoc_cursor_t
- mongoc_database_t
- mongoc_delete_flags_t
- mongoc_find_and_modify_opts_t
- mongoc_gridfs_file_list_t
- mongoc_gridfs_file_opt_t
- mongoc_gridfs_file_t
- mongoc_gridfs_bucket_t
- mongoc_gridfs_t
- mongoc_host_list_t
- mongoc_index_opt_geo_t
- mongoc_index_opt_t
- mongoc_index_opt_wt_t
- mongoc_insert_flags_t
- mongoc_iovec_t
- mongoc_optional_t
- mongoc_query_flags_t
- mongoc_rand
- mongoc_read_concern_t
- mongoc_read_mode_t
- mongoc_read_prefs_t
- mongoc_remove_flags_t
- mongoc_reply_flags_t
- mongoc_server_api_t
- mongoc_server_api_version_t
- mongoc_server_description_t
- mongoc_session_opt_t
- mongoc_socket_t
- mongoc_ssl_opt_t
- mongoc_stream_buffered_t
- mongoc_stream_file_t
- mongoc_stream_socket_t
- mongoc_stream_t
- mongoc_stream_tls_t
- mongoc_topology_description_t
- mongoc_transaction_opt_t
- mongoc_transaction_state_t
- mongoc_update_flags_t
- mongoc_uri_t
- Version Checks
- mongoc_write_concern_t
- Application Performance Monitoring (APM)