1MONGOC_COLLECTION_FIND_INDEXES(3M)ongoDB C DriveMrONGOC_COLLECTION_FIND_INDEXES(3)
2
3
4

NAME

6       mongoc_collection_find_indexes - mongoc_collection_find_indexes()
7

SYNOPSIS

9          mongoc_cursor_t *
10          mongoc_collection_find_indexes (mongoc_collection_t *collection,
11                                          bson_error_t *error);
12

DEPRECATED

14       This function is deprecated and should not be used in new code.
15
16       Please use mongoc_collection_find_indexes_with_opts() instead.
17
18       Fetches  a  cursor containing documents, each corresponding to an index
19       on this collection.
20

PARAMETERS

22       · collection: A mongoc_collection_t.
23
24       · error: An optional location for a bson_error_t or NULL.
25

ERRORS

27       Errors are propagated via the error parameter.
28

RETURNS

30       A cursor where each result corresponds to the  server's  representation
31       of an index on this collection. If the collection does not exist on the
32       server, the cursor will be empty.
33

AUTHOR

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