1MONGOC_COLLECTION_DROP_INDEX(3) libmongoc MONGOC_COLLECTION_DROP_INDEX(3)
2
3
4
6 bool
7 mongoc_collection_drop_index (mongoc_collection_t *collection,
8 const char *index_name,
9 bson_error_t *error);
10
12 • collection: A mongoc_collection_t.
13
14 • index_name: A string containing the name of the index.
15
16 • error: An optional location for a bson_error_t or NULL.
17
19 For more information, see mongoc_collection_drop_with_opts(). This
20 function is a thin wrapper, passing NULL in as bson_t parameter.
21
23 MongoDB, Inc
24
26 2017-present, MongoDB, Inc
27
28
29
30
311.25.1 Nov 08, 2023 MONGOC_COLLECTION_DROP_INDEX(3)