This is an outdated version of the documentation. See the current version of this page.

Navigation

  • next
  • previous |
  • libmongoc 1.22.0 »
  • API Reference »

mongoc_bulk_operation_t¶

Bulk Write Operations

Synopsis¶

typedef struct _mongoc_bulk_operation_t mongoc_bulk_operation_t;

The opaque type mongoc_bulk_operation_t provides an abstraction for submitting multiple write operations as a single batch.

After adding all of the write operations to the mongoc_bulk_operation_t, call mongoc_bulk_operation_execute() to execute the operation.

Warning

It is only valid to call mongoc_bulk_operation_execute() once. The mongoc_bulk_operation_t must be destroyed afterwards.

See also

Bulk Write Operations

Functions¶

  • 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_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_update()
  • mongoc_bulk_operation_update_many_with_opts()
  • mongoc_bulk_operation_update_one()
  • mongoc_bulk_operation_update_one_with_opts()

Table Of Contents

  • Installing the MongoDB C Driver (libmongoc) and BSON library (libbson)
  • Tutorial
  • Authentication
  • Basic Troubleshooting
  • Guides
  • API Reference
    • Initialization and cleanup
    • Logging
    • Error Reporting
    • Object Lifecycle
    • GridFS
    • mongoc_auto_encryption_opts_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_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_matcher_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)
  • Index

Quick search

© Copyright 2017-present, MongoDB, Inc. Created using Sphinx 3.4.3.