MONGOC_CLIENT_...T_CLUSTER_TIME(3)
π MONGOC_CLIENT_...T_CLUSTER_TIME(3) π
okay bestie, welcome to the libmongoc manual page for MONGOC_CLIENT_...T_CLUSTER_TIME(3) β yes, the title is a whole mood, but the function inside is the real main character. π
β¨ SYNOPSIS β¨
const bson_t *
mongoc_client_session_get_cluster_time (const mongoc_client_session_t *session);
So what does it do? It gets the session's clusterTime as a BSON document. Periodt. β¨
π«Ά PARAMETERS π«Ά
sessionβ amongoc_client_session_t. That's the bestie we're asking for the cluster time. π
π₯ RETURNS π₯
If the session has not been used for any operation and mongoc_client_session_advance_cluster_time() has not been called, you get a bson_t that is valid only for the lifetime of session. Otherwise, you get NULL.
no cap: thatbson_tis lifetime-of-sessiononly, so don't be weird with it after the session's gone. π«Ά
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
mwah π this iconic lil page is from libmongoc version 2.5.6, dated Oct 09, 202 β that's literally what the footer says, bestie. bye! π«Άβ¨
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms