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

NAME

6       mongoc_client_pool_new_with_error - mongoc_client_pool_new_with_error()
7

SYNOPSIS

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

PARAMETERS

18uri: A mongoc_uri_t.
19
20error: An optional location for a bson_error_t or NULL.
21

RETURNS

23       A newly allocated mongoc_client_pool_t that should be freed  with  mon‐
24       goc_client_pool_destroy()  when no longer in use. On error, NULL is re‐
25       turned and error will be populated with the error description.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.21.1                           Mar 02, 20M2O2NGOC_CLIENT_POOL_NEW_WITH_ERROR(3)
Impressum