This is an outdated version of the documentation.
See the current version of this page
.
MongoDB C Driver
A Cross Platform MongoDB Client Library for C
Installation
Installing from Source
Supported Platforms
Tutorial
1. Starting MongoDB
2. Making a Connection
3. Creating BSON Documents
4. Basic CRUD Operations
5. Executing Commands
6. Threading
7. Next Steps
Basic Operations
Counting Documents
Deleting a Document
Finding a Document
Inserting a Document
Updating a Document
Advanced Connections
Additional Connection Options
Connecting to a Replica Set
Connecting to a Sharded Cluster
Connecting to a UNIX Domain Socket
Connecting to an IPv6 Address
Authentication
Basic Authentication
GSSAPI (Kerberos) Authentication
SASL Plain Authentication
SSL Authentication
X.509 Certificate Authentication
Cursors
Destroying Server-Side Cursors
Handling Cursor Failures
Tailable Cursors
Bulk Operations
Bulk Insert
Bulk Operation Write Concerns
Further Reading
Mixed Bulk Write Operations
Ordered Bulk Write Operations
Unordered Bulk Write Operations
Aggregation Framework
Aggregation Framework Examples
Client Side Document Matching
Basic Document Matching
Troubleshooting
Basic Troubleshooting
Performance Counters
Submitting a Bug Report
API Reference
Logging
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_gridfs_file_list_t
mongoc_gridfs_file_opt_t
mongoc_gridfs_file_t
mongoc_gridfs_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_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_update_flags_t
mongoc_uri_t
mongoc_write_concern_t