vertx / io.vertx.kotlin.ext.mongo / io.vertx.ext.mongo.MongoClient / createCollectionAwait

createCollectionAwait

suspend fun MongoClient.createCollectionAwait(collectionName: String): Unit

Create a new collection

Parameters

collectionName - the name of the collection

resultHandler - will be called when complete

Return