mongoc_collection_create_index - Man Page

WARNING:

Deprecated since version 1.8.0: This function is deprecated and should not be used in new code. See Manage Collection Indexes.

Synopsis

bool
mongoc_collection_create_index (mongoc_collection_t *collection,
                                const bson_t *keys,
                                const mongoc_index_opt_t *opt,
                                bson_error_t *error) BSON_GNUC_DEPRECATED;

Parameters

Author

MongoDB, Inc

Info

Mar 06, 2024 1.26.1 libmongoc