Click or drag to resize

DocumentPurge Method

Completely purges the Document from the local Database. This is different from delete in that it completely deletes everything related to the Document and does not replicate the deletes to other Databases.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public void Purge()
Exceptions
ExceptionCondition
CouchbaseLiteException Thrown if an issue occurs while purging the Document.
Remarks
Purges this document from the database; this is more than deletion, it forgets entirely about it. The purge will NOT be replicated to other databases.
See Also