suspend fun MongoClient.distinctWithQueryAwait(collection: String, fieldName: String, resultClassname: String, query: JsonObject): JsonArray
Gets the distinct values of the specified field name filtered by specified query. Return a JsonArray containing distinct values (eg: 1,89)
resultHandler
- will be provided with array of values.
Return