mongoc_server_api_deprecation_errors - Man Page
mongoc_server_api_deprecation_errors()
Synopsis
void mongoc_server_api_deprecation_errors (mongoc_server_api_t *api, bool deprecation_errors);
Set whether or not to error on commands that are deprecated in this API version.
Parameters
- api: A mongoc_server_api_t.
- deprecation_errors: Whether or not to error on commands that are deprecated.
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
May 09, 2023 1.23.4 libmongoc