suspend fun MongoClient.removeDocumentWithOptionsAwait(collection: String, query: JsonObject, writeOption: WriteOption): MongoClientDeleteResult
Remove a single matching document from a collection with the specified write option and return the handler with MongoClientDeleteResult result
query
- query used to match document
writeOption
- the write option to use
resultHandler
- will be called when complete
Return