Ubuntu Manpages

WARNING:

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



  • 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.

Errors are propagated via the error parameter.

MongoDB, Inc

2017-present, MongoDB, Inc