1MONGOC_CLIENT_SESSION_DESTROY(3) libmongoc MONGOC_CLIENT_SESSION_DESTROY(3)
2
3
4
6 void
7 mongoc_client_session_destroy (mongoc_client_session_t *session);
8
9 End a session, returning its session id to the pool, and free all
10 client resources associated with the session. If a multi-document
11 transaction is in progress, abort it. Does nothing if session is NULL.
12
13 See the example code for mongoc_client_session_t.
14
16 • session: A mongoc_client_session_t.
17
19 MongoDB, Inc
20
22 2017-present, MongoDB, Inc
23
24
25
26
271.25.1 Nov 08, 2023 MONGOC_CLIENT_SESSION_DESTROY(3)