MONGOC_CLIENT_SESSION_GET_CLIENT(3) libmongoc MONGOC_CLIENT_SESSION_GET_CLIENT(3)

mongoc_client_t *
mongoc_client_session_get_client (const mongoc_client_session_t *session);


Returns the mongoc_client_t from which this session was created. See mongoc_client_start_session().

session: A mongoc_client_session_t.

A mongoc_client_t that should not be freed.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0