Scroll to navigation

MONGOC_CLIENT_SESSION_GET_DIRTY(3) libmongoc MONGOC_CLIENT_SESSION_GET_DIRTY(3)

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

session: A const mongoc_client_session_t <>.

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

Copyright

2009-present, MongoDB, Inc.

November 26, 2025 2.2.0