mongoc_collection_create_index man page

mongoc_collection_create_index ā€” mongoc_collection_create_index()

Synopsis

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

Deprecated

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

Parameters

Author

MongoDB, Inc

Info

Oct 12, 2017 1.8.1 MongoDB C Driver