SYNOPSIS
bool mongoc_collection_drop_index (mongoc_collection_t *collection, const char *index_name, bson_error_t *error);
DESCRIPTION
The mongoc_collection_drop_index() function requests that an index on collection be dropped.
- error
-
an optional error pointer to store any error data
RETURN VALUE
The mongoc_collection_drop_index() function returns true if the index was successfully dropped. In the event of an error it returns false an error is set.
ERRORS
Errors are returned through error and may vary based on the server version.
SEE ALSO
AUTHORS
This page was written by MongoDB Inc.