1MONGOC_CLIENT_GET_DATABASE_NAMESM(o3n)goDB C DriMvOeNrGOC_CLIENT_GET_DATABASE_NAMES(3)
2
3
4

NAME

6       mongoc_client_get_database_names - mongoc_client_get_database_names()
7

SYNOPSIS

9          char **
10          mongoc_client_get_database_names (mongoc_client_t *client, bson_error_t *error);
11

DEPRECATED

13       This function is deprecated and should not be used in new code.
14
15       Please use mongoc_client_get_database_names_with_opts() instead.
16

DESCRIPTION

18       This function queries the MongoDB server for a list of known databases.
19

PARAMETERS

21       · client: A mongoc_client_t.
22
23       · error: An optional location for a bson_error_t or NULL.
24

ERRORS

26       Errors are propagated via the error parameter.
27

RETURNS

29       A  NULL  terminated  vector of NULL-byte terminated strings. The result
30       should be freed with bson_strfreev().
31
32       NULL is returned upon failure and error is set.
33

AUTHOR

35       MongoDB, Inc
36
38       2017-present, MongoDB, Inc
39
40
41
42
431.13.1                           Jan 24, 201M9ONGOC_CLIENT_GET_DATABASE_NAMES(3)
Impressum