SYNOPSIS

mongoc_client_t * mongoc_client_new (const char *uri_string);
mongoc_client_t * mongoc_client_new_from_uri (const mongoc_uri_t *uri);

DESCRIPTION

The mongoc_client_new() function shall create a new mongoc_client(7). The uri_string should conform to mongoc_uri(7).

The mongoc_client_new_from_uri() function shall create a new mongoc_client(7). The uri parameter should be a properly instanitated mongoc_uri(7).

RETURN VALUE

The mongoc_client_new() function returns a new mongoc_client(7).

The mongoc_client_new_from_uri() function returns a new mongoc_client(7).

ERRORS

No errors are defined.

SEE ALSO

AUTHORS

This page was written by MongoDB Inc.