mongoc_client_session_get_lsid - Man Page

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.

Author

MongoDB, Inc

Info

Jan 06, 2022 1.20.1 libmongoc