mongoc_client_session_get_cluster_time(3)

mongoc_client_session_get_cluster_time3

Usage

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.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.