MONGOC_BULKWRITE_T(3) libmongoc MONGOC_BULKWRITE_T(3) SYNOPSIS typedef struct _mongoc_bulkwrite_t mongoc_bulkwrite_t; DESCRIPTION mongoc_bulkwrite_t provides an abstraction for submitting multiple write operations as a single batch. After adding all of the write operations to the mongoc_bulkwrite_t, call mongoc_bulkwrite_execute() to execute the operation. WARNING: It is only valid to call mongoc_bulkwrite_execute() once. The mongoc_bulkwrite_t must be destroyed afterwards. NOTE: If using MongoDB server 8.0+, prefer mongoc_bulkwrite_t over mongoc_bulk_operation_t to reduce network round trips. mongoc_bulkwrite_t uses the bulkWrite server command introduced in Mon- goDB server 8.0. bulkWrite command supports insert, update, and delete operations in the same payload. bulkWrite supports use of multiple col- lection namespaces in the same payload. mongoc_bulk_operation_t uses the insert, update and delete server com- mands available in all current MongoDB server versions. Write operations are grouped by type (insert, update, delete) and sent in separate com- mands. Only one collection may be specified per bulk write. AUTHOR MongoDB, Inc COPYRIGHT 2009-present, MongoDB, Inc. 1.30.8 Aug 27, 2026 MONGOC_BULKWRITE_T(3)
SYNOPSIS | DESCRIPTION | AUTHOR | COPYRIGHT
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_bulkwrite_t&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>
