1MONGOC_CLIENT_NEW_FROM_URI_WITH_ERROlRi(b3mM)oOnNgGoOcC_CLIENT_NEW_FROM_URI_WITH_ERROR(3)
2
3
4
6 mongoc_client_new_from_uri_with_error - mon‐
7 goc_client_new_from_uri_with_error()
8
10 mongoc_client_t *
11 mongoc_client_new_from_uri_with_error (const mongoc_uri_t *uri,
12 bson_error_t *error)
13 BSON_GNUC_WARN_UNUSED_RESULT;
14
15 Creates a new mongoc_client_t using the mongoc_uri_t provided.
16
18 • uri: A mongoc_uri_t.
19
20 • error: An optional location for a bson_error_t or NULL.
21
23 A newly allocated mongoc_client_t that should be freed with mon‐
24 goc_client_destroy() when no longer in use. On error, NULL is returned
25 and error will be populated with the error description.
26
28 MongoDB, Inc
29
31 2017-present, MongoDB, Inc
32
33
34
35
361.21.1 Mar 02M,ON2G0O2C2_CLIENT_NEW_FROM_URI_WITH_ERROR(3)