Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.

How to set the property maxRevTreeDepth  #131

@ugendrang

Description

@ugendrang

I am building a "standalone" mobile app by following the example app ReactNativeCouchbaseLiteExample.

Since i want to hold only one document(ie only the original document) without any revision document, i thought to set maxRevTreeDepth to 1, but not sure where to set this property.

Do we need to add extra attribute 'maxRevTreeDepth' to put_db as show below?
manager.database.put_db({db: DB_NAME, maxRevTreeDepth :1})

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions