1MONGOC_CLIENT_POOL_NEW_WITH_ERROR(3)libmongoMcONGOC_CLIENT_POOL_NEW_WITH_ERROR(3)
2
3
4

SYNOPSIS

6          mongoc_client_pool_t *
7          mongoc_client_pool_new_with_error (const mongoc_uri_t *uri,
8                                             bson_error_t *error)
9             BSON_GNUC_WARN_UNUSED_RESULT;
10
11       This function creates a new mongoc_client_pool_t using the mongoc_uri_t
12       provided.
13

PARAMETERS

15uri: A mongoc_uri_t.
16
17error: An optional location for a bson_error_t or NULL.
18

RETURNS

20       A newly  allocated  mongoc_client_pool_t  that  should  be  freed  with
21       mongoc_client_pool_destroy()  when  no longer in use. On error, NULL is
22       returned and error will be populated with the error description.
23

AUTHOR

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