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

runCommandAwait

suspend fun MongoClient.runCommandAwait(commandName: String, command: JsonObject): JsonObject

Run an arbitrary MongoDB command.

Parameters

commandName - the name of the command

command - the command

resultHandler - will be called with the result.

Return