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

insertWithOptionsAwait

suspend fun MongoClient.insertWithOptionsAwait(collection: String, document: JsonObject, writeOption: WriteOption?): String?

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

Parameters

collection - the collection

document - the document

writeOption - the write option to use

Return

String?

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