1MONGOC_COLLECTION_CREATE_INDEX(3) libmongoc MONGOC_COLLECTION_CREATE_INDEX(3)
2
3
4
6 Deprecated since version 1.8.0: This function is deprecated and
7 should not be used in new code. See Manage Collection Indexes.
8
9
11 bool
12 mongoc_collection_create_index (mongoc_collection_t *collection,
13 const bson_t *keys,
14 const mongoc_index_opt_t *opt,
15 bson_error_t *error) BSON_GNUC_DEPRECATED;
16
18 • collection: A mongoc_collection_t.
19
20 • keys: A bson_t.
21
22 • opt: A mongoc_index_opt_t.
23
24 • error: An optional location for a bson_error_t or NULL.
25
27 MongoDB, Inc
28
30 2017-present, MongoDB, Inc
31
32
33
34
351.25.1 Nov 08, 2023MONGOC_COLLECTION_CREATE_INDEX(3)