MONGOC_CLIENT_SET_SERVER_API(3)
π MONGOC_CLIENT_SET_SERVER_API(3) π
okay so bestie, this is the libmongoc manual page for mongoc_client_set_server_api β and yes, itβs giving βset it once and donβt touch it againβ energy πβ¨
π SYNOPSIS π
bool
mongoc_client_set_server_api (mongoc_client_t *client,
const mongoc_server_api_t *api,
bson_error_t *error);
This function sets the API version to use for client. Once the API version is set on a client, it may not be changed to a new value. Attempting to do so will cause this method to fail and set error. periodt. π
π PARAMETERS π
clientβ amongoc_client_t. the client weβre setting up, slay π«Άapiβ amongoc_server_api_t. the API version situation itself β¨errorβ abson_error_t. where the error gets dropped if things go sideways π
β¨ RETURNS β¨
True if the version was successfully set, false if not. On failure, error will be set. simple as that, bestie π
π AUTHOR π
MongoDB, Inc
πΈ COPYRIGHT πΈ
2009-present, MongoDB, Inc.
and thatβs the whole vibe π« this iconic little page comes from libmongoc version 2.5.6, dated Oct 09, 2026. mwah ππ
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms