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