MONGOC_SESSIO..._SNAPSHOT_TIME(3)

πŸ“¦
version 2.5.6 Β· 2 versions
, in epel 10

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 β€” A mongoc_session_opt_t. this is the options object, bestie.
  • timestamp β€” A pointer to a uint32_t to receive the timestamp component. it's literally there to catch the timestamp part.
  • increment β€” A pointer to a uint32_t to receive the increment component. same vibe, different component. ✨

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” yes, that's the author, and they ate. 🫢

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