DOKK / manpages / debian 13 / libmongoc-doc / mongoc_server_api_strict.3.en
MONGOC_SERVER_API_STRICT(3) libmongoc MONGOC_SERVER_API_STRICT(3)

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.

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

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4