Scroll to navigation

MONGOC_SERVER_API_STRICT(3) libmongoc MONGOC_SERVER_API_STRICT(3)

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.

November 26, 2025 2.2.0