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

countAwait

suspend fun MongoClient.countAwait(collection: String, query: JsonObject): Long

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

Parameters

collection - the collection

query - query used to match documents

Return

Long

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