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

SYNOPSIS

9          bool
10          mongoc_collection_create_index (mongoc_collection_t *collection,
11                                          const bson_t *keys,
12                                          const mongoc_index_opt_t *opt,
13                                          bson_error_t *error);
14

DEPRECATED

16       This  function  is  deprecated  and should not be used in new code. See
17       create-indexes.
18

PARAMETERS

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

AUTHOR

29       MongoDB, Inc
30
32       2017-present, MongoDB, Inc
33
34
35
36
371.17.6                           Jun 03, 2021MONGOC_COLLECTION_CREATE_INDEX(3)
Impressum