mongoc_client_session_get_client()#

Synopsis#

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().

Parameters#

Returns#

A mongoc_client_t that should not be freed.