Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

mongoc_client_session_get_operation_time

Synopsis

void
mongoc_client_session_get_operation_time (const mongoc_client_session_t *session,
                                          uint32_t *timestamp,
                                          uint32_t *increment);

Get the session's operationTime, expressed as a BSON Timestamp with timestamp and increment components. If the session has not been used for any operations, the timestamp and increment are 0.

Parameters

Author

MongoDB, Inc

Info

Jul 03, 2024 1.27.4 libmongoc