mongoc_client_new - Man Page

mongoc_client_new()

Synopsis

mongoc_client_t *
mongoc_client_new (const char *uri_string) BSON_GNUC_WARN_UNUSED_RESULT;

Creates a new mongoc_client_t using the URI string provided.

Parameters

Returns

A newly allocated mongoc_client_t if the URI parsed successfully, otherwise NULL.

SEE ALSO:

mongoc_client_new_from_uri()

Author

MongoDB, Inc

Info

Jan 06, 2022 1.20.1 libmongoc