mongoc_server_api_deprecation_errors(3)

mongoc_server_api_deprecation_errors3

Usage

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.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.