1MONGOC_COLLECTION_DROP_INDEX(3)MongoDB C DriverMONGOC_COLLECTION_DROP_INDEX(3)
2
3
4
6 mongoc_collection_drop_index - mongoc_collection_drop_index()
7
9 bool
10 mongoc_collection_drop_index (mongoc_collection_t *collection,
11 const char *index_name,
12 bson_error_t *error);
13
15 · collection: A mongoc_collection_t.
16
17 · index_name: A string containing the name of the index.
18
19 · error: An optional location for a bson_error_t or NULL.
20
22 For more information, see mongoc_collection_drop_with_opts(). This
23 function is a thin wrapper, passing NULL in as bson_t parameter.
24
26 MongoDB, Inc
27
29 2017-present, MongoDB, Inc
30
31
32
33
341.15.2 Nov 06, 2019 MONGOC_COLLECTION_DROP_INDEX(3)