1MONGOC_CLIENT_NEW_FROM_URI_WITH_ERROlRi(b3mM)oOnNgGoOcC_CLIENT_NEW_FROM_URI_WITH_ERROR(3)
2
3
4
6 mongoc_client_t *
7 mongoc_client_new_from_uri_with_error (const mongoc_uri_t *uri,
8 bson_error_t *error)
9 BSON_GNUC_WARN_UNUSED_RESULT;
10
11 Creates a new mongoc_client_t using the mongoc_uri_t provided.
12
14 • uri: A mongoc_uri_t.
15
16 • error: An optional location for a bson_error_t or NULL.
17
19 A newly allocated mongoc_client_t that should be freed with
20 mongoc_client_destroy() when no longer in use. On error, NULL is re‐
21 turned and error will be populated with the error description.
22
24 MongoDB, Inc
25
27 2017-present, MongoDB, Inc
28
29
30
31
321.25.1 Nov 08M,ON2G0O2C3_CLIENT_NEW_FROM_URI_WITH_ERROR(3)