purge

expect fun purge(document: Document)(source)

When purging a document, the collection instance of the document and this collection instance must be the same, otherwise, the InvalidParameter error will be thrown.


expect fun purge(id: String)(source)

Purge a document by id from the collection. If the document doesn't exist in the collection, the NotFound error will be thrown.

actual fun purge(document: Document)(source)
actual fun purge(id: String)(source)
actual fun purge(document: Document)(source)
actual fun purge(id: String)(source)