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
25 SEE ALSO:
26 mongoc_client_start_session()
27
28
30 MongoDB, Inc
31
33 2017-present, MongoDB, Inc
34
35
36
37
381.23.1 OctMO2N0G,OC2_0B2U2LK_OPERATION_SET_CLIENT_SESSION(3)