mongoc_session_opts_get_snapshot_time - Man Page

Synopsis

bool
mongoc_session_opts_get_snapshot_time (const mongoc_session_opt_t *opts,
                                       uint32_t *timestamp,
                                       uint32_t *increment);

Get the snapshot time previously configured with mongoc_session_opts_set_snapshot_time() <>​. Returns false and leaves timestamp and increment unmodified if no snapshot time has been configured.

Parameters

Author

MongoDB, Inc

Info

Sep 04, 2026 2.5.2 libmongoc