FreeBSD Manual Pages
MONGOC_CLIENT...SET_SERVER_API(3) libmongoc MONGOC_CLIENT...SET_SERVER_API(3) SYNOPSIS bool mongoc_client_pool_set_server_api (mongoc_client_pool_t *pool, const mongoc_server_api_t *api, bson_error_t *error); Set the API version to use for clients created through pool. Once the API version is set on a pool, it may not be changed to a new value. At- tempting to do so will cause this method to fail and set error. PARAMETERS • pool: A mongoc_client_pool_t. • api: A mongoc_server_api_t. • error: A bson_error_t. RETURNS True if the version was successfully set, false if not. On failure, er- ror will be set. AUTHOR MongoDB, Inc COPYRIGHT 2009-present, MongoDB, Inc. 1.30.2 Apr 12, 2025MONGOC_CLIENT...SET_SERVER_API(3)
SYNOPSIS | PARAMETERS | RETURNS | AUTHOR | COPYRIGHT
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_client_pool_set_server_api&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>