purge

expect fun purge(document: Document)(source)

Deprecated

Use defaultCollection.purge()

Replace with

defaultCollection.purge(document)

Purges the passed document from the default collection. This is more drastic than delete(Document): it removes all local traces of the document. Purges will NOT be replicated to other databases.

Parameters

document

the document to be purged.


expect fun purge(id: String)(source)

Deprecated

Use defaultCollection.purge()

Replace with

defaultCollection.purge(id)

Purges the document with the passed id from default collection. This is more drastic than delete(Document), it removes all local traces of the document. Purges will NOT be replicated to other databases.

Parameters

id

the document ID

actual fun purge(document: Document)(source)

Deprecated

Use defaultCollection.purge()

Replace with

defaultCollection.purge(document)

actual fun purge(id: String)(source)

Deprecated

Use defaultCollection.purge()

Replace with

defaultCollection.purge(id)
actual fun purge(document: Document)(source)

Deprecated

Use defaultCollection.purge()

Replace with

defaultCollection.purge(document)

actual fun purge(id: String)(source)

Deprecated

Use defaultCollection.purge()

Replace with

defaultCollection.purge(id)