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

findAwait

suspend fun MongoClient.findAwait(collection: String, query: JsonObject): List<JsonObject>

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

Parameters

collection - the collection

query - query used to match documents

Return

List

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