logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

const bson_t *

Author

       MongoDB, Inc

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.

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.

return

See Also