suspend fun MongoClient.findOneAndDeleteAwait(collection: String, query: JsonObject): JsonObject?
Find a single matching document in the specified collection and delete it.
collection - the collection
collection
query - the query used to match the document
query
Return