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)
collection - the collection
collection
fieldName - the field name
fieldName
resultClassname -
resultClassname
Return