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

# distinctAwait

`suspend fun MongoClient.distinctAwait(collection: String, fieldName: String, resultClassname: String): JsonArray`

Gets the distinct values of the specified field name. Return a JsonArray containing distinct values (eg: 1,89)

### Parameters

`collection` - the collection

`fieldName` - the field name

`resultClassname` -

Return