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

How to set the property maxRevTreeDepth #131

Open
ugendrang opened this issue Oct 28, 2017 · 0 comments
Open

How to set the property maxRevTreeDepth #131

ugendrang opened this issue Oct 28, 2017 · 0 comments
Labels

Comments

@ugendrang
Copy link
Contributor

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})

@ugendrang ugendrang changed the title Where to set the property maxRevTreeDepth How to set the property maxRevTreeDepth Nov 11, 2017
@djpongh djpongh added the icebox label Nov 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants