mongoc_server_api_get_deprecation_errors

Synopsis

const mongoc_optional_t *
mongoc_server_api_get_deprecation_errors (const mongoc_server_api_t *api);

Returns the value of the deprecation_errors flag for the mongoc_server_api_t <>.

Parameters

Returns

Returns a mongoc_optional_t <> indicating whether the deprecation_errors flag was set.

Author

MongoDB, Inc

Info

Jan 27, 2026 1.30.6 libmongoc