mongoc_bulk_operation_set_client_session

mongoc_bulk_operation_set_client_session()

Synopsis

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

See Also

Author

MongoDB, Inc

Info

Apr 09, 2021 1.17.5 libmongoc