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