1MONGOC_CLIENT_NEW(3)               libmongoc              MONGOC_CLIENT_NEW(3)
2
3
4

NAME

6       mongoc_client_new - mongoc_client_new()
7

SYNOPSIS

9          mongoc_client_t *
10          mongoc_client_new (const char *uri_string) BSON_GNUC_WARN_UNUSED_RESULT;
11
12       Creates a new mongoc_client_t using the URI string provided.
13

PARAMETERS

15uri_string: A string containing the MongoDB connection URI.
16

RETURNS

18       A  newly allocated mongoc_client_t if the URI parsed successfully, oth‐
19       erwise NULL.
20
21       SEE ALSO:
22          mongoc_client_new_from_uri()
23
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.20.0                           Nov 18, 2021             MONGOC_CLIENT_NEW(3)
Impressum