logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

bool

Author

       MongoDB, Inc

Parameters

client: A mongoc_client_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, error will be set.

Synopsis

          bool
          mongoc_client_set_server_api (mongoc_client_t *client,
                                        const mongoc_server_api_t *api,
                                        bson_error_t *error);

       Set  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.

See Also