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