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)
resultHandler
- will be provided with array of values.
Return