mongoc_collection_find_indexes (3) Linux Manual Page
mongoc_collection_find_indexes() – None
Synopsis
mongoc_cursor_t * mongoc_collection_find_indexes (mongoc_collection_t *collection, bson_error_t *error);
Fetches a cursor containing documents, each corresponding to an index on this collection.
Parameters
collection- A
mongoc_collection_t\&.
error- An optional location for a
bson_error_torNULL\&.
Errors
Errors are propagated via the error parameter.
Returns
A cursor where each result corresponds to the server’s representation of
Colophon
This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.
