mongoc_collection_create_index - Man Page
- WARNING:
Deprecated since version 1.8.0: See Manage Collection Indexes for alternatives.
Synopsis
bool mongoc_collection_create_index (mongoc_collection_t *collection, const bson_t *keys, const mongoc_index_opt_t *opt, bson_error_t *error);
Parameters
- collection: A mongoc_collection_t.
- keys: A bson_t.
- opt: A mongoc_index_opt_t.
- error: An optional location for a bson_error_t or NULL.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
Info
Nov 07, 2024 1.29.0 libmongoc