Click or drag to resize

DatabasePurge Method

Purges the given Document from the database. This leaves no trace behind and will not be replicated

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
public void Purge(
	Document document
)

Parameters

document
Type: Couchbase.LiteDocument
The document to purge

Return Value

Type: 
Whether or not the document was actually purged.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when trying to purge a document from a database other than the one it was previously added to
See Also