MONGOC_SESSIO..._SNAPSHOT_TIME(3)
hey bestie π welcome to the libmongoc manual β this is the MONGOC_SESSIO..._SNAPSHOT_TIME(3) page, aka where mongoc_session_opts_get_snapshot_time lives. it's a tiny getter and honestly it's serving.
β¨ SYNOPSIS β¨
here's the exact signature, no cap:
bool
mongoc_session_opts_get_snapshot_time (const mongoc_session_opt_t *opts,
uint32_t *timestamp,
uint32_t *increment);
what it does: it gets the snapshot time that was previously configured with mongoc_session_opts_set_snapshot_time(). if no snapshot time has been configured, it returns false and leaves timestamp and increment unmodified. that's the rule, and it ate. π
π PARAMETERS π
optsβ Amongoc_session_opt_t. this is the options object, bestie.timestampβ A pointer to auint32_tto receive the timestamp component. it's literally there to catch the timestamp part.incrementβ A pointer to auint32_tto receive the increment component. same vibe, different component. β¨
π AUTHOR π
MongoDB, Inc β yes, that's the author, and they ate. π«Ά
π COPYRIGHT π
2009-present, MongoDB, Inc. iconic, protected, and legally cute. π
that's the whole page, bestie. it's from libmongoc 2.5.6, dated Oct 09, 2026 β mwah πβ¨
π¦ 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