Provided by: libmongoc-doc_2.2.1-1_all bug

SYNOPSIS

          void
          mongoc_server_api_strict (mongoc_server_api_t *api, bool strict);

       Set whether to be strict about the list of allowed commands in this API version.

PARAMETERS

api: A mongoc_server_api_t <>.

       • strict: Whether or not to be struct about the list of allowed API commands.

Author

       MongoDB, Inc

Copyright

       2009-present, MongoDB, Inc.

2.2.1                                             Dec 11, 2025                       MONGOC_SERVER_API_STRICT(3)