mongoc_client_session_get_lsid()#

Synopsis#

const bson_t *
mongoc_client_session_get_lsid (mongoc_client_session_t *session);

Get the server-side “logical session ID” associated with this mongoc_client_session_t as a BSON document.

Parameters#

Returns#

A bson_t that is valid only for the lifetime of session.