1MONGOC_DATABASE_GET_COLLECTION_NMAoMnEgSo(D3B)CMODNrGiOvCe_rDATABASE_GET_COLLECTION_NAMES(3)
2
3
4

NAME

6       mongoc_database_get_collection_names    -   mongoc_database_get_collec‐
7       tion_names()
8

SYNOPSIS

10          char **
11          mongoc_database_get_collection_names (mongoc_database_t *database,
12                                                bson_error_t *error);
13

DEPRECATED

15       This function is deprecated and should not be used in new code.
16
17       Please use mongoc_database_get_collection_names_with_opts() instead.
18

DESCRIPTION

20       Fetches a NULL terminated array of NULL-byte terminated  char*  strings
21       containing the names of all of the collections in database.
22

PARAMETERS

24       · database: A mongoc_database_t.
25
26       · error: An optional location for a bson_error_t or NULL.
27

ERRORS

29       Errors are propagated via the error parameter.
30

RETURNS

32       A NULL terminated array of NULL terminated char* strings that should be
33       freed with bson_strfreev(). Upon failure, NULL is returned and error is
34       set.
35

AUTHOR

37       MongoDB, Inc
38
40       2017-present, MongoDB, Inc
41
42
43
44
451.14.0                           Feb 22,MO2N0G1O9C_DATABASE_GET_COLLECTION_NAMES(3)
Impressum