mongoc_bulk_operation_t — MongoDB C Driver 1.6.3

- MongoDB C Driver 1.6.3 »
- 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_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_hint()
- mongoc_bulk_operation_update()
- mongoc_bulk_operation_update_many_with_opts()
- mongoc_bulk_operation_update_one()
- mongoc_bulk_operation_update_one_with_opts()

Created using Sphinx 1.5.3, based on Sphinx Readable Theme.