1MONGOC_COLLECTION_CREATE_INDEX(3M)ongoDB C DriveMrONGOC_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

20       · collection: A mongoc_collection_t.
21
22       · keys: A bson_t.
23
24       · opt: A mongoc_index_opt_t.
25
26       · error: 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.13.1                           Jan 24, 2019MONGOC_COLLECTION_CREATE_INDEX(3)
Impressum