suspend fun MongoClient.saveWithOptionsAwait(collection: String, document: JsonObject, writeOption: WriteOption): String
Save a document in the specified collection with the specified write option
writeOption
- the write option to use
resultHandler
- result handler will be provided with the id if document didn't already have one
Return