Click or drag to resize

DatabaseGetMaxRevTreeDepth Method

Maximum depth of a document's revision tree (or, max length of its revision history.) Revisions older than this limit will be deleted during a -compact: operation.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public int GetMaxRevTreeDepth()

Return Value

Type: Int32
The maximum depth set on this Database
Remarks
Maximum depth of a document's revision tree (or, max length of its revision history.) Revisions older than this limit will be deleted during a -compact: operation. Smaller values save space, at the expense of making document conflicts somewhat more likely.
See Also