1MONGOC_COLLECTION_ENSURE_INDEX(3)  libmongoc MONGOC_COLLECTION_ENSURE_INDEX(3)
2
3
4

WARNING:

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

SYNOPSIS

11          bool
12          mongoc_collection_ensure_index (mongoc_collection_t *collection,
13                                          const bson_t *keys,
14                                          const mongoc_index_opt_t *opt,
15                                          bson_error_t *error)
16             BSON_GNUC_DEPRECATED;
17

PARAMETERS

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

ERRORS

28       Errors are propagated via the error parameter.
29

AUTHOR

31       MongoDB, Inc
32
34       2017-present, MongoDB, Inc
35
36
37
38
391.25.1                           Nov 08, 2023MONGOC_COLLECTION_ENSURE_INDEX(3)
Impressum