Click or drag to resize

DatabaseCompact Method

Compacts the database file by deleting unused attachment files and vacuuming the SQLite database

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
public void Compact()
Exceptions
ExceptionCondition
CouchbaseExceptionThrown if an error condition is returned from LiteCore
InvalidOperationExceptionThrown if this method is called after the database is closed
See Also