-->

where does couchbase lite store its files on windo

2019-09-12 09:04发布

问题:

This page shows where the data is stored on various platforms, but not on windows. Where does CouchDB Lite create the directory and files for windows?

回答1:

The Manager object contains a path to a root directory where databases are stored (each db is put inside a sub directory) and the Database object contains a path to the sub directory.

The default root directory appears to be: C:\Users\<USERNAME>\AppData\Local and databases are in sub directories such as testdb2.cblite2 where the first part of the name is the name of the database you gave it in your code.