oracular (3) mongoc_client_session_get_cluster_time.3.gz

Provided by: libmongoc-doc_1.27.5-1_all bug

SYNOPSIS

          const bson_t *
          mongoc_client_session_get_cluster_time (const mongoc_client_session_t *session);

       Get the session's clusterTime as a BSON document.

PARAMETERS

session: A mongoc_client_session_t.

RETURNS

       If  the  session has not been used for any operation and mongoc_client_session_advance_cluster_time() has
       not been called, a bson_t that is valid only for the lifetime of session. Otherwise, NULL.

AUTHOR

       MongoDB, Inc

       2017-present, MongoDB, Inc