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