1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
:man_page: mongoc_bulk_operation_t
mongoc_bulk_operation_t
=======================
Bulk Write Operations
Synopsis
--------
.. code-block:: c
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 :symbol:`mongoc_bulk_operation_execute()` to execute the operation.
.. warning::
It is only valid to call :symbol:`mongoc_bulk_operation_execute()` once. The ``mongoc_bulk_operation_t`` must be destroyed afterwards.
See Also
--------
:symbol:`Bulk Write Operations <bulk>`
.. only:: html
Functions
---------
.. toctree::
:titlesonly:
:maxdepth: 1
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_hint
mongoc_bulk_operation_update
mongoc_bulk_operation_update_many_with_opts
mongoc_bulk_operation_update_one
mongoc_bulk_operation_update_one_with_opts
|