Click or drag to resize

DatabaseMaxRevTreeDepth Property

Note: This API is now obsolete.

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#
[ObsoleteAttribute("This property is heavy and will be converted to a method")]
public int MaxRevTreeDepth { get; set; }

Property Value

Type: Int32
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