table of contents
other versions
- bookworm 1.23.1-1+deb12u1
- testing 1.30.4-1
- unstable 1.30.4-1
- experimental 2.0.2-1
MONGOC_CLIENT_SESSION_DESTROY(3) | libmongoc | MONGOC_CLIENT_SESSION_DESTROY(3) |
SYNOPSIS¶
void mongoc_client_session_destroy (mongoc_client_session_t *session);
End a session, returning its session id to the pool, and free all client resources associated with the session. If a multi-document transaction is in progress, abort it. Does nothing if session is NULL.
See the example code for mongoc_client_session_t.
PARAMETERS¶
- •
- session: A mongoc_client_session_t.
AUTHOR¶
MongoDB, Inc
COPYRIGHT¶
2009-present, MongoDB, Inc.
May 7, 2025 | 1.30.4 |