suspend fun MongoClient.findOneAwait(collection: String, query: JsonObject, fields: JsonObject): JsonObject?
Suspending version of method io.vertx.ext.mongo.MongoClient.findOne
query
- the query used to match the document
Return
NOTE: This function has been automatically generated from io.vertx.ext.mongo.MongoClient using Vert.x codegen.