1MONGOC_CLIENT_NEW(3) MongoDB C Driver MONGOC_CLIENT_NEW(3)
2
3
4
6 mongoc_client_new - mongoc_client_new()
7
9 mongoc_client_t *
10 mongoc_client_new (const char *uri_string);
11
12 Creates a new mongoc_client_t using the URI string provided.
13
15 · uri_string: A string containing the MongoDB connection URI.
16
18 A newly allocated mongoc_client_t if the URI parsed successfully, oth‐
19 erwise NULL.
20
22 mongoc_client_new_from_uri()
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.15.2 Nov 06, 2019 MONGOC_CLIENT_NEW(3)