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

findWithOptionsAwait

suspend fun MongoClient.findWithOptionsAwait(collection: String, query: JsonObject, options: FindOptions): List<JsonObject>

Find matching documents in the specified collection, specifying options

Parameters

collection - the collection

query - query used to match documents

options - options to configure the find

resultHandler - will be provided with list of documents

Return