MongoDB C Driver¶
A Cross Platform MongoDB Client Library for C
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
- Version Checks
- mongoc_bulk_operation_t
- mongoc_client_pool_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_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_matcher_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_description_t
- mongoc_socket_t
- mongoc_ssl_opt_t
- mongoc_stream_buffered_t
- mongoc_stream_file_t
- mongoc_stream_gridfs_t
- mongoc_stream_socket_t
- mongoc_stream_t
- mongoc_stream_tls_t
- mongoc_topology_description_t
- mongoc_update_flags_t
- mongoc_uri_t
- mongoc_write_concern_t
- Application Performance Monitoring (APM)
- mongoc_apm_callbacks_t
- mongoc_apm_command_failed_t
- mongoc_apm_command_started_t
- mongoc_apm_command_succeeded_t
- mongoc_apm_server_changed_t
- mongoc_apm_server_closed_t
- mongoc_apm_server_heartbeat_failed_t
- mongoc_apm_server_heartbeat_started_t
- mongoc_apm_server_heartbeat_succeeded_t
- mongoc_apm_server_opening_t
- mongoc_apm_topology_changed_t
- mongoc_apm_topology_closed_t
- mongoc_apm_topology_opening_t