purge

expect fun purge(document: Document)(source)

Purges the given document from the database. This is more drastic than delete(Document), it removes all traces of the document. The purge will NOT be replicated to other databases.

Parameters

document

the document to be purged.


expect fun purge(id: String)(source)

Purges the given document id for the document in database. This is more drastic than delete(Document), it removes all traces of the document. The purge will NOT be replicated to other databases.

Parameters

id

the document ID

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