A Sandcastle Documented Class Library
A Sandcastle Documented Class Library
Couchbase.Lite
Database Class
Database Methods
AsQueryable Method
ChangeEncryptionKey Method
Close Method
Compact Method
CreateAllDocumentsQuery Method
CreateDocument Method
CreatePullReplication Method
CreatePushReplication Method
DatabaseStorageChanged Method
Delete Method
DeleteLocalDocument Method
Dispose Method
GetDocument Method
GetDocumentCount Method
GetExistingDocument Method
GetExistingLocalDocument Method
GetExistingView Method
GetFilter Method
GetLastSequenceNumber Method
GetMaxRevTreeDepth Method
GetTotalDataSize Method
GetValidation Method
GetView Method
PutLocalDocument Method
RunAsync Method
RunInTransaction Method
SetFilter Method
SetMaxRevTreeDepth Method
SetValidation Method
StorageExitedTransaction Method
ToString Method
Database
Compact Method
Compacts the
Database
file by purging non-current
Revision
s and deleting unused
Attachment
s.
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
Copy
public
bool
Compact
()
Return Value
Type:
Boolean
[Missing <returns> documentation for "M:Couchbase.Lite.Database.Compact"]
Exceptions
Exception
Condition
CouchbaseLiteException
thrown if an issue occurs while compacting the
Database
See Also
Reference
Database Class
Couchbase.Lite Namespace