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

# distinctWithQueryAwait

`suspend fun MongoClient.distinctWithQueryAwait(collection: String, fieldName: String, resultClassname: String, query: JsonObject): JsonArray`

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

### Parameters

`collection` - the collection

`fieldName` - the field name

`resultClassname` -

`query` - the query

Return

JsonArray

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