1MONGOC_CLIENT_NEW_FROM_URI_WITH_ERROlRi(b3mM)oOnNgGoOcC_CLIENT_NEW_FROM_URI_WITH_ERROR(3)
2
3
4

NAME

6       mongoc_client_new_from_uri_with_error               -              mon‐
7       goc_client_new_from_uri_with_error()
8

SYNOPSIS

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

PARAMETERS

18uri: A mongoc_uri_t.
19
20error: An optional location for a bson_error_t or NULL.
21

RETURNS

23       A  newly  allocated  mongoc_client_t  that   should   be   freed   with
24       mongoc_client_destroy()  when  no  longer in use. On error, NULL is re‐
25       turned and error will be populated with the error description.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.23.1                           Oct 20M,ON2G0O2C2_CLIENT_NEW_FROM_URI_WITH_ERROR(3)
Impressum