1MONGOC_CLIENT_NEW_FROM_URI(3)      libmongoc     MONGOC_CLIENT_NEW_FROM_URI(3)
2
3
4

SYNOPSIS

6          mongoc_client_t *
7          mongoc_client_new_from_uri (const mongoc_uri_t *uri)
8             BSON_GNUC_WARN_UNUSED_RESULT;
9
10       Creates a new mongoc_client_t using the mongoc_uri_t provided.
11

PARAMETERS

13uri: A mongoc_uri_t.
14

RETURNS

16       A   newly   allocated   mongoc_client_t   that  should  be  freed  with
17       mongoc_client_destroy() when no longer in use. On error,  NULL  is  re‐
18       turned and an error will be logged.
19
20       SEE ALSO:
21          mongoc_client_new_from_uri_with_error()
22
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.25.1                           Nov 08, 2023    MONGOC_CLIENT_NEW_FROM_URI(3)
Impressum