DatabaseSetMaxRevTreeDepth Method |
Sets the 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 public void SetMaxRevTreeDepth(
int value
)
Parameters
- value
- Type: SystemInt32
The new maximum depth to use for 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