Search code examples
c#windowscouchbase-lite

where does couchbase lite store its files on windows?


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?


Solution

  • 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.