1MONGOC_BULK_OPERATION_SET_CLIENT_SESlMSiOIbNOmGNoO(nC3g_)oBcULK_OPERATION_SET_CLIENT_SESSION(3)
2
3
4
6 mongoc_bulk_operation_set_client_session - mongoc_bulk_opera‐
7 tion_set_client_session()
8
10 void
11 mongoc_bulk_operation_set_client_session (
12 mongoc_bulk_operation_t *bulk,
13 mongoc_client_session_t *client_session);
14
15 Sets an explicit client session to use for the bulk operation.
16
17 It is an error to use a session for unacknowledged writes.
18
20 · bulk: A mongoc_bulk_operation_t.
21
22 · client_session: A mongoc_client_session_t. Must be derived from the
23 same mongoc_client_t as bulk.
24
26 · mongoc_client_start_session()
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.16.2 FebMO2N5G,OC2_0B2U0LK_OPERATION_SET_CLIENT_SESSION(3)