1MONGOC_DATABASE_FIND_COLLECTIONSM(o3n)goDB C DriMvOeNrGOC_DATABASE_FIND_COLLECTIONS(3)
2
3
4
6 mongoc_database_find_collections - mongoc_database_find_collections()
7
9 mongoc_cursor_t *
10 mongoc_database_find_collections (mongoc_database_t *database,
11 const bson_t *filter,
12 bson_error_t *error)
13 BSON_GNUC_DEPRECATED_FOR (mongoc_database_find_collections_with_opts);
14
16 This function is deprecated and should not be used in new code.
17
18 Please use mongoc_database_find_collections_with_opts() instead.
19
21 Fetches a cursor containing documents, each corresponding to a collec‐
22 tion on this database.
23
25 · database: A mongoc_database_t.
26
27 · filter: A matcher used by the server to filter the returned collec‐
28 tions. May be NULL.
29
30 · error: An optional location for a bson_error_t or NULL.
31
33 Errors are propagated via the error parameter.
34
36 A cursor where each result corresponds to the server's representation
37 of a collection in this database.
38
40 MongoDB, Inc
41
43 2017-present, MongoDB, Inc
44
45
46
47
481.13.1 Jan 24, 201M9ONGOC_DATABASE_FIND_COLLECTIONS(3)