mongoc_bulk_operation_set_client_session(3)

mongoc_bulk_operation_set_client_session3

Usage

void
mongoc_bulk_operation_set_client_session (
  mongoc_bulk_operation_t *bulk,
  mongoc_client_session_t *client_session);

Sets an explicit client session to use for the bulk operation.

It is an error to use a session for unacknowledged writes.

Parameters

•

bulk: A mongoc_bulk_operation_t.

•

client_session: A mongoc_client_session_t. Must be derived from the same mongoc_client_t as bulk.

SEE ALSO:

mongoc_client_start_session()

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.