Section 3
- mongoc_apm_set_server_opening_cb
- mongoc_apm_set_topology_changed_cb
- mongoc_apm_set_topology_closed_cb
- mongoc_apm_set_topology_opening_cb
- mongoc_apm_topology_changed_get_context
- mongoc_apm_topology_changed_get_new_description
- mongoc_apm_topology_changed_get_previous_description
- mongoc_apm_topology_changed_get_topology_id
- mongoc_apm_topology_changed_t
- mongoc_apm_topology_closed_get_context
- mongoc_apm_topology_closed_get_topology_id
- mongoc_apm_topology_closed_t
- mongoc_apm_topology_opening_get_context
- mongoc_apm_topology_opening_get_topology_id
- mongoc_apm_topology_opening_t
- mongoc_application_performance_monitoring
- mongoc_authentication · Authentication This guide covers the use of authentication options with the MongoDB C Driver. Ensure that the MongoDB server is also properly configured for authentication before making a connection. For more information, see the MongoDB security documentation. The MongoDB C driver supports several authentication mechanisms through the use of MongoDB connection URIs. By default, if a username and password are provided as part of the connection string (and an optional authentication database), they are used to connect via the default authentication mechanism of the server. To select a specific authentication mechanism other than the default, see the list of supported mechanism below. Currently supported values for the authMechanism connection string option are:
- mongoc_auto_encryption_opts_destroy
- mongoc_auto_encryption_opts_new
- mongoc_auto_encryption_opts_set_bypass_auto_encryption
- mongoc_auto_encryption_opts_set_bypass_query_analysis
- mongoc_auto_encryption_opts_set_encrypted_fields_map
- mongoc_auto_encryption_opts_set_extra
- mongoc_auto_encryption_opts_set_key_expiration
- mongoc_auto_encryption_opts_set_key_vault_client
- mongoc_auto_encryption_opts_set_key_vault_client_pool
- mongoc_auto_encryption_opts_set_key_vault_namespace
- mongoc_auto_encryption_opts_set_kms_credential_provider_callback
- mongoc_auto_encryption_opts_set_kms_providers
- mongoc_auto_encryption_opts_set_schema_map
- mongoc_auto_encryption_opts_set_tls_opts
- mongoc_auto_encryption_opts_t
- mongoc_basic_aggregate · None
- mongoc_basic_troubleshooting · Basic Troubleshooting
- mongoc_bulk · Bulk Write Operations This tutorial explains how to take advantage of MongoDB C driver bulk write operation features. Executing write operations in batches reduces the number of network round trips, increasing write throughput.
- mongoc_bulk_operation_delete
- mongoc_bulk_operation_delete_one
- mongoc_bulk_operation_destroy
- mongoc_bulk_operation_execute
- mongoc_bulk_operation_get_hint
- mongoc_bulk_operation_get_server_id
- mongoc_bulk_operation_get_write_concern
- mongoc_bulk_operation_insert
- mongoc_bulk_operation_insert_with_opts
- mongoc_bulk_operation_remove
- mongoc_bulk_operation_remove_many_with_opts
- mongoc_bulk_operation_remove_one
- mongoc_bulk_operation_remove_one_with_opts
- mongoc_bulk_operation_replace_one
- mongoc_bulk_operation_replace_one_with_opts
- mongoc_bulk_operation_set_bypass_document_validation
- mongoc_bulk_operation_set_client_session
- mongoc_bulk_operation_set_comment
- mongoc_bulk_operation_set_hint
- mongoc_bulk_operation_set_let
- mongoc_bulk_operation_set_server_id
- mongoc_bulk_operation_t
- mongoc_bulk_operation_update
- mongoc_bulk_operation_update_many_with_opts
- mongoc_bulk_operation_update_one
- mongoc_bulk_operation_update_one_with_opts
- mongoc_bulkwrite_append_deletemany
- mongoc_bulkwrite_append_deleteone
- mongoc_bulkwrite_append_insertone
- mongoc_bulkwrite_append_replaceone
- mongoc_bulkwrite_append_updatemany
- mongoc_bulkwrite_append_updateone
- mongoc_bulkwrite_deletemanyopts_destroy
- mongoc_bulkwrite_deletemanyopts_new
- mongoc_bulkwrite_deletemanyopts_set_collation
- mongoc_bulkwrite_deletemanyopts_set_hint
- mongoc_bulkwrite_deletemanyopts_t
- mongoc_bulkwrite_deleteoneopts_destroy
- mongoc_bulkwrite_deleteoneopts_new
- mongoc_bulkwrite_deleteoneopts_set_collation
- mongoc_bulkwrite_deleteoneopts_set_hint
- mongoc_bulkwrite_deleteoneopts_t
- mongoc_bulkwrite_destroy
- mongoc_bulkwrite_execute
- mongoc_bulkwrite_insertoneopts_destroy
- mongoc_bulkwrite_insertoneopts_new
- mongoc_bulkwrite_insertoneopts_t
- mongoc_bulkwrite_new
- mongoc_bulkwrite_replaceoneopts_destroy
- mongoc_bulkwrite_replaceoneopts_new
- mongoc_bulkwrite_replaceoneopts_set_collation
- mongoc_bulkwrite_replaceoneopts_set_hint
- mongoc_bulkwrite_replaceoneopts_set_sort
- mongoc_bulkwrite_replaceoneopts_set_upsert
- mongoc_bulkwrite_replaceoneopts_t
- mongoc_bulkwrite_set_client
- mongoc_bulkwrite_set_session
- mongoc_bulkwrite_t
- mongoc_bulkwrite_updatemanyopts_destroy
- mongoc_bulkwrite_updatemanyopts_new
- mongoc_bulkwrite_updatemanyopts_set_arrayfilters
- mongoc_bulkwrite_updatemanyopts_set_collation
- mongoc_bulkwrite_updatemanyopts_set_hint
- mongoc_bulkwrite_updatemanyopts_set_upsert
- mongoc_bulkwrite_updatemanyopts_t
- mongoc_bulkwrite_updateoneopts_destroy
- mongoc_bulkwrite_updateoneopts_new
- mongoc_bulkwrite_updateoneopts_set_arrayfilters
- mongoc_bulkwrite_updateoneopts_set_collation
- mongoc_bulkwrite_updateoneopts_set_hint
- mongoc_bulkwrite_updateoneopts_set_sort
- mongoc_bulkwrite_updateoneopts_set_upsert
- mongoc_bulkwrite_updateoneopts_t
- mongoc_bulkwriteexception_destroy
- mongoc_bulkwriteexception_error
- mongoc_bulkwriteexception_errorreply
- mongoc_bulkwriteexception_t
- mongoc_bulkwriteexception_writeconcernerrors
- mongoc_bulkwriteexception_writeerrors
- mongoc_bulkwriteopts_destroy
- mongoc_bulkwriteopts_new
- mongoc_bulkwriteopts_set_bypassdocumentvalidation
- mongoc_bulkwriteopts_set_comment
- mongoc_bulkwriteopts_set_extra
- mongoc_bulkwriteopts_set_let
- mongoc_bulkwriteopts_set_ordered
- mongoc_bulkwriteopts_set_serverid
- mongoc_bulkwriteopts_set_verboseresults
- mongoc_bulkwriteopts_set_writeconcern
- mongoc_bulkwriteopts_t
- mongoc_bulkwriteresult_deletedcount
- mongoc_bulkwriteresult_deleteresults
- mongoc_bulkwriteresult_destroy
- mongoc_bulkwriteresult_insertedcount
- mongoc_bulkwriteresult_insertresults
- mongoc_bulkwriteresult_matchedcount
- mongoc_bulkwriteresult_modifiedcount
- mongoc_bulkwriteresult_serverid
- mongoc_bulkwriteresult_t
- mongoc_bulkwriteresult_updateresults
- mongoc_bulkwriteresult_upsertedcount
- mongoc_bulkwritereturn_t
- mongoc_change_stream_destroy
- mongoc_change_stream_error_document
- mongoc_change_stream_get_resume_token
- mongoc_change_stream_next
- mongoc_change_stream_t
- mongoc_check_version
- mongoc_cleanup
- mongoc_client_bulkwrite_new
- mongoc_client_command
- mongoc_client_command_simple
- mongoc_client_command_simple_with_server_id
- mongoc_client_command_with_opts
- mongoc_client_decryption_decrypt
- mongoc_client_destroy
- mongoc_client_enable_auto_encryption
- mongoc_client_encryption_add_key_alt_name
- mongoc_client_encryption_create_datakey
- mongoc_client_encryption_create_encrypted_collection
- mongoc_client_encryption_datakey_opts_destroy
- mongoc_client_encryption_datakey_opts_new
- mongoc_client_encryption_datakey_opts_set_keyaltnames
- mongoc_client_encryption_datakey_opts_set_keymaterial
- mongoc_client_encryption_datakey_opts_set_masterkey
- mongoc_client_encryption_datakey_opts_t
- mongoc_client_encryption_delete_key
- mongoc_client_encryption_destroy
- mongoc_client_encryption_encrypt
- mongoc_client_encryption_encrypt_expression
- mongoc_client_encryption_encrypt_opts_destroy
- mongoc_client_encryption_encrypt_opts_new
- mongoc_client_encryption_encrypt_opts_set_algorithm
- mongoc_client_encryption_encrypt_opts_set_contention_factor
- mongoc_client_encryption_encrypt_opts_set_keyaltname
- mongoc_client_encryption_encrypt_opts_set_keyid
- mongoc_client_encryption_encrypt_opts_set_query_type
- mongoc_client_encryption_encrypt_opts_set_range_opts
- mongoc_client_encryption_encrypt_opts_t
- mongoc_client_encryption_encrypt_range_opts_destroy
- mongoc_client_encryption_encrypt_range_opts_new
- mongoc_client_encryption_encrypt_range_opts_set_max
- mongoc_client_encryption_encrypt_range_opts_set_min
- mongoc_client_encryption_encrypt_range_opts_set_precision
- mongoc_client_encryption_encrypt_range_opts_set_sparsity
- mongoc_client_encryption_encrypt_range_opts_set_trim_factor
- mongoc_client_encryption_encrypt_range_opts_t
- mongoc_client_encryption_get_crypt_shared_version
- mongoc_client_encryption_get_key
- mongoc_client_encryption_get_key_by_alt_name
- mongoc_client_encryption_get_keys
- mongoc_client_encryption_new
- mongoc_client_encryption_opts_destroy
- mongoc_client_encryption_opts_new
- mongoc_client_encryption_opts_set_key_expiration
- mongoc_client_encryption_opts_set_key_vault_namespace
- mongoc_client_encryption_opts_set_keyvault_client
- mongoc_client_encryption_opts_set_kms_credential_provider_callback
- mongoc_client_encryption_opts_set_kms_providers
- mongoc_client_encryption_opts_set_tls_opts
- mongoc_client_encryption_opts_t
- mongoc_client_encryption_remove_key_alt_name
- mongoc_client_encryption_rewrap_many_datakey
- mongoc_client_encryption_rewrap_many_datakey_result_destroy
- mongoc_client_encryption_rewrap_many_datakey_result_get_bulk_write_result
- mongoc_client_encryption_rewrap_many_datakey_result_new
- mongoc_client_encryption_rewrap_many_datakey_result_t
- mongoc_client_encryption_t
- mongoc_client_find_databases_with_opts
- mongoc_client_get_collection
- mongoc_client_get_crypt_shared_version
- mongoc_client_get_database
- mongoc_client_get_database_names
- mongoc_client_get_database_names_with_opts
- mongoc_client_get_default_database
- mongoc_client_get_gridfs
- mongoc_client_get_handshake_description
- mongoc_client_get_max_bson_size · mongoc_client_get_max_bson_size()
- mongoc_client_get_max_message_size · mongoc_client_get_max_message_size()
- mongoc_client_get_read_concern
- mongoc_client_get_read_prefs
- mongoc_client_get_server_description
- mongoc_client_get_server_descriptions
- mongoc_client_get_server_status
- mongoc_client_get_uri
- mongoc_client_get_write_concern
- mongoc_client_new
- mongoc_client_new_from_uri
- mongoc_client_new_from_uri_with_error
- mongoc_client_pool_destroy
- mongoc_client_pool_enable_auto_encryption
- mongoc_client_pool_max_size
- mongoc_client_pool_min_size
- mongoc_client_pool_new
- mongoc_client_pool_new_with_error
- mongoc_client_pool_pop
- mongoc_client_pool_push
- mongoc_client_pool_set_apm_callbacks
- mongoc_client_pool_set_appname
- mongoc_client_pool_set_error_api
- mongoc_client_pool_set_server_api
- mongoc_client_pool_set_ssl_opts
- mongoc_client_pool_set_structured_log_opts
- mongoc_client_pool_t
- mongoc_client_pool_try_pop
- mongoc_client_read_command_with_opts
- mongoc_client_read_write_command_with_opts
- mongoc_client_reset
- mongoc_client_select_server
- mongoc_client_session_abort_transaction
- mongoc_client_session_advance_cluster_time
- mongoc_client_session_advance_operation_time
- mongoc_client_session_append
- mongoc_client_session_commit_transaction
- mongoc_client_session_destroy
- mongoc_client_session_get_client
- mongoc_client_session_get_cluster_time
- mongoc_client_session_get_dirty
- mongoc_client_session_get_lsid
- mongoc_client_session_get_operation_time
- mongoc_client_session_get_opts
- mongoc_client_session_get_server_id
- mongoc_client_session_get_transaction_state
- mongoc_client_session_in_transaction
- mongoc_client_session_start_transaction
- mongoc_client_session_t
- mongoc_client_session_with_transaction
- mongoc_client_session_with_transaction_cb_t
- mongoc_client_set_apm_callbacks
- mongoc_client_set_appname
- mongoc_client_set_error_api
- mongoc_client_set_read_concern
- mongoc_client_set_read_prefs
- mongoc_client_set_server_api
- mongoc_client_set_sockettimeoutms
- mongoc_client_set_ssl_opts
- mongoc_client_set_stream_initiator
- mongoc_client_set_structured_log_opts
- mongoc_client_set_write_concern
- mongoc_client_start_session
- mongoc_client_t
- mongoc_client_watch
- mongoc_client_write_command_with_opts
- mongoc_collection_aggregate
- mongoc_collection_command
- mongoc_collection_command_simple
- mongoc_collection_command_with_opts
- mongoc_collection_copy
- mongoc_collection_count
- mongoc_collection_count_documents
- mongoc_collection_count_with_opts
- mongoc_collection_create_bulk_operation
- mongoc_collection_create_bulk_operation_with_opts
- mongoc_collection_create_index
- mongoc_collection_create_index_with_opts
- mongoc_collection_create_indexes_with_opts
- mongoc_collection_delete
- mongoc_collection_delete_many
- mongoc_collection_delete_one
- mongoc_collection_destroy
- mongoc_collection_drop
- mongoc_collection_drop_index
- mongoc_collection_drop_index_with_opts
- mongoc_collection_drop_with_opts
- mongoc_collection_ensure_index
- mongoc_collection_estimated_document_count
- mongoc_collection_find
- mongoc_collection_find_and_modify
- mongoc_collection_find_and_modify_with_opts
- mongoc_collection_find_indexes
- mongoc_collection_find_indexes_with_opts
- mongoc_collection_find_with_opts
- mongoc_collection_get_last_error
- mongoc_collection_get_name
- mongoc_collection_get_read_concern
- mongoc_collection_get_read_prefs
- mongoc_collection_get_write_concern
- mongoc_collection_insert
- mongoc_collection_insert_bulk
- mongoc_collection_insert_many
- mongoc_collection_insert_one
- mongoc_collection_keys_to_index_string
- mongoc_collection_read_command_with_opts
- mongoc_collection_read_write_command_with_opts
- mongoc_collection_remove
- mongoc_collection_rename
- mongoc_collection_rename_with_opts
- mongoc_collection_replace_one
- mongoc_collection_save
- mongoc_collection_set_read_concern
- mongoc_collection_set_read_prefs
- mongoc_collection_set_write_concern
- mongoc_collection_stats
- mongoc_collection_t
- mongoc_collection_update
- mongoc_collection_update_many
- mongoc_collection_update_one
- mongoc_collection_validate
- mongoc_collection_watch
- mongoc_collection_write_command_with_opts
- mongoc_common_task_examples · Common Tasks Drivers for some other languages provide helper functions to perform certain common tasks. In the C Driver we must explicitly build commands to send to the server.
- mongoc_configuring_tls · Configuring TLS
- mongoc_connection_pooling · Connection Pooling The MongoDB C driver has two connection modes: single-threaded and pooled. Single-threaded mode is optimized for embedding the driver within languages like PHP. Multi-threaded programs should use pooled mode: this mode minimizes the total connection count, and in pooled mode background threads monitor the MongoDB server topology, so the program need not block to scan it.
- mongoc_create_indexes · Creating Indexes To create indexes on a MongoDB collection, execute the createIndexes command with a command function like mongoc_database_write_command_with_opts() or mongoc_collection_write_command_with_opts(). See the MongoDB Manual entry for the createIndexes command for details. WARNING:
- mongoc_cursor_clone
- mongoc_cursor_current
- mongoc_cursor_destroy
- mongoc_cursor_error
- mongoc_cursor_error_document
- mongoc_cursor_get_batch_size
- mongoc_cursor_get_hint
- mongoc_cursor_get_host
- mongoc_cursor_get_id
- mongoc_cursor_get_limit
- mongoc_cursor_get_max_await_time_ms
- mongoc_cursor_get_server_id
- mongoc_cursor_is_alive
- mongoc_cursor_more
- mongoc_cursor_new_from_command_reply
- mongoc_cursor_new_from_command_reply_with_opts
- mongoc_cursor_next
- mongoc_cursor_set_batch_size
- mongoc_cursor_set_hint
- mongoc_cursor_set_limit
- mongoc_cursor_set_max_await_time_ms
- mongoc_cursor_set_server_id
- mongoc_cursor_t
- mongoc_cursors · Cursors
- mongoc_database_add_user
- mongoc_database_aggregate
- mongoc_database_command
- mongoc_database_command_simple
- mongoc_database_command_with_opts
- mongoc_database_copy
- mongoc_database_create_collection
- mongoc_database_destroy
- mongoc_database_drop
- mongoc_database_drop_with_opts
- mongoc_database_find_collections
- mongoc_database_find_collections_with_opts
- mongoc_database_get_collection
- mongoc_database_get_collection_names
- mongoc_database_get_collection_names_with_opts
- mongoc_database_get_name
- mongoc_database_get_read_concern
- mongoc_database_get_read_prefs
- mongoc_database_get_write_concern
- mongoc_database_has_collection
- mongoc_database_read_command_with_opts
- mongoc_database_read_write_command_with_opts
- mongoc_database_remove_all_users
- mongoc_database_remove_user
- mongoc_database_set_read_concern
- mongoc_database_set_read_prefs
- mongoc_database_set_write_concern
- mongoc_database_t
- mongoc_database_watch
- mongoc_database_write_command_with_opts
- mongoc_debugging · Aids for Debugging
- mongoc_delete_flags_t
- mongoc_deleting_document · None
- mongoc_distinct_mapreduce · "distinct" and "mapReduce" This document provides some practical, simple, examples to demonstrate the distinct and mapReduce commands.
- mongoc_error_has_label
- mongoc_errors
- mongoc_executing_command · None
- mongoc_find_and_modify_opts_append
- mongoc_find_and_modify_opts_destroy
- mongoc_find_and_modify_opts_get_bypass_document_validation
- mongoc_find_and_modify_opts_get_fields
- mongoc_find_and_modify_opts_get_flags
- mongoc_find_and_modify_opts_get_max_time_ms
- mongoc_find_and_modify_opts_get_sort
- mongoc_find_and_modify_opts_get_update
- mongoc_find_and_modify_opts_new
- mongoc_find_and_modify_opts_set_bypass_document_validation
- mongoc_find_and_modify_opts_set_fields
- mongoc_find_and_modify_opts_set_flags
- mongoc_find_and_modify_opts_set_max_time_ms
- mongoc_find_and_modify_opts_set_sort
- mongoc_find_and_modify_opts_set_update
- mongoc_find_and_modify_opts_t
- mongoc_finding_document · None
- mongoc_get_major_version
- mongoc_get_micro_version
- mongoc_get_minor_version
- mongoc_get_version
- mongoc_gridfs_bucket_abort_upload
- mongoc_gridfs_bucket_delete_by_id
- mongoc_gridfs_bucket_destroy
- mongoc_gridfs_bucket_download_to_stream
- mongoc_gridfs_bucket_find
- mongoc_gridfs_bucket_new
- mongoc_gridfs_bucket_open_download_stream
- mongoc_gridfs_bucket_open_upload_stream
- mongoc_gridfs_bucket_open_upload_stream_with_id
- mongoc_gridfs_bucket_stream_error
- mongoc_gridfs_bucket_t
- mongoc_gridfs_bucket_upload_from_stream
- mongoc_gridfs_bucket_upload_from_stream_with_id
- mongoc_gridfs_create_file
- mongoc_gridfs_create_file_from_stream
- mongoc_gridfs_destroy
- mongoc_gridfs_drop
- mongoc_gridfs_file_destroy
- mongoc_gridfs_file_error
- mongoc_gridfs_file_get_aliases
- mongoc_gridfs_file_get_chunk_size
- mongoc_gridfs_file_get_content_type
- mongoc_gridfs_file_get_filename
- mongoc_gridfs_file_get_id
- mongoc_gridfs_file_get_length
- mongoc_gridfs_file_get_md5
- mongoc_gridfs_file_get_metadata
- mongoc_gridfs_file_get_upload_date
- mongoc_gridfs_file_list_destroy
- mongoc_gridfs_file_list_error
- mongoc_gridfs_file_list_next
- mongoc_gridfs_file_list_t
- mongoc_gridfs_file_opt_t
- mongoc_gridfs_file_readv
- mongoc_gridfs_file_remove
- mongoc_gridfs_file_save
- mongoc_gridfs_file_seek
- mongoc_gridfs_file_set_aliases
- mongoc_gridfs_file_set_content_type
- mongoc_gridfs_file_set_filename
- mongoc_gridfs_file_set_id
- mongoc_gridfs_file_set_md5
- mongoc_gridfs_file_set_metadata
- mongoc_gridfs_file_t
- mongoc_gridfs_file_tell
- mongoc_gridfs_file_writev
- mongoc_gridfs_find
- mongoc_gridfs_find_one
- mongoc_gridfs_find_one_by_filename
- mongoc_gridfs_find_one_with_opts
- mongoc_gridfs_find_with_opts
- mongoc_gridfs_get_chunks
- mongoc_gridfs_get_files
- mongoc_gridfs_remove_by_filename
- mongoc_gridfs_t
- mongoc_guides · Guides
- mongoc_handshake_data_append
- mongoc_host_list_t
- mongoc_index · A Cross Platform MongoDB Client Library for C
- mongoc_index_opt_geo_get_default
- mongoc_index_opt_geo_init
- mongoc_index_opt_geo_t
- mongoc_index_opt_get_default
- mongoc_index_opt_init
- mongoc_index_opt_t
- mongoc_index_opt_wt_get_default
- mongoc_index_opt_wt_init
- mongoc_index_opt_wt_t
- mongoc_init
- mongoc_init_cleanup
- mongoc_insert_flags_t
- mongoc_inserting_document · None
- mongoc_installing · Installing the MongoDB C Driver (libmongoc) and BSON library (libbson) The following guide will step you through the process of downloading, building, and installing the current release of the MongoDB C Driver (libmongoc) and BSON library (libbson).
- mongoc_iovec_t
- mongoc_logging
- mongoc_matcher · Client Side Document Matching
- mongoc_matcher_destroy · mongoc_matcher_destroy()
- mongoc_matcher_match · mongoc_matcher_match()
- mongoc_matcher_new · mongoc_matcher_new()