suspend fun MongoClient.createIndexWithOptionsAwait(collection: String, key: JsonObject, options: IndexOptions): Unit
Suspending version of method io.vertx.ext.mongo.MongoClient.createIndexWithOptions
key
- A document that contains the field and value pairs where the field is the index key and the value describes the type of index for that field. For an ascending index on a field, specify a value of 1; for descending index, specify a value of -1.
the options for the index
NOTE: This function has been automatically generated from io.vertx.ext.mongo.MongoClient using Vert.x codegen.