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

insertAwait

suspend fun MongoClient.insertAwait(collection: String, document: JsonObject): String?

Suspending version of method io.vertx.ext.mongo.MongoClient.insert

Parameters

collection - the collection

document - the document

Return

String?

NOTE: This function has been automatically generated from io.vertx.ext.mongo.MongoClient using Vert.x codegen.