1MONGOC_CLIENT_POOL_NEW(3) libmongoc MONGOC_CLIENT_POOL_NEW(3)
2
3
4
6 mongoc_client_pool_t *
7 mongoc_client_pool_new (const mongoc_uri_t *uri) BSON_GNUC_WARN_UNUSED_RESULT;
8
9 This function creates a new mongoc_client_pool_t using the mongoc_uri_t
10 provided.
11
13 • uri: A mongoc_uri_t.
14
16 A newly allocated mongoc_client_pool_t that should be freed with
17 mongoc_client_pool_destroy() when no longer in use. On error, NULL is
18 returned and an error may be logged.
19
20 SEE ALSO:
21 mongoc_client_pool_new_with_error()
22
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.25.1 Nov 08, 2023 MONGOC_CLIENT_POOL_NEW(3)