1MONGOC_COLLECTION_CREATE_INDEX(3)  libmongoc MONGOC_COLLECTION_CREATE_INDEX(3)
2
3
4

NAME

6       mongoc_collection_create_index - mongoc_collection_create_index()
7
8       WARNING:
9          Deprecated  since  version  1.8.0:  This  function is deprecated and
10          should not be used in new code. See Manage Collection Indexes.
11
12

SYNOPSIS

14          bool
15          mongoc_collection_create_index (mongoc_collection_t *collection,
16                                          const bson_t *keys,
17                                          const mongoc_index_opt_t *opt,
18                                          bson_error_t *error) BSON_GNUC_DEPRECATED;
19

PARAMETERS

21collection: A mongoc_collection_t.
22
23keys: A bson_t.
24
25opt: A mongoc_index_opt_t.
26
27error: An optional location for a bson_error_t or NULL.
28

AUTHOR

30       MongoDB, Inc
31
33       2017-present, MongoDB, Inc
34
35
36
37
381.24.3                           Aug 17, 2023MONGOC_COLLECTION_CREATE_INDEX(3)
Impressum