suspend fun MongoClient.findOneAndDeleteAwait(collection: String, query: JsonObject): JsonObject
Find a single matching document in the specified collection and delete it.
query
- the query used to match the document
resultHandler
- will be provided with the deleted document, if any
Return