mongoc_client_session_get_dirty - Man Page

Synopsis

bool
mongoc_client_session_get_dirty (const mongoc_client_session_t *session);

Indicates whether session has been marked "dirty" as defined in the driver sessions specification <https://github.com/mongodb/specifications/blob/master/source/sessions/driver-sessions.md>.

Parameters

Description

This function is intended for use by drivers that wrap libmongoc. It is not useful in client applications.

Returns

A boolean indicating whether the session has been marked "dirty".

Author

MongoDB, Inc

Info

Jan 27, 2026 1.30.6 libmongoc