couchbase lite 将其文件存储在 Windows 的什么位置? [英] where does couchbase lite store its files on windows?

查看:19
本文介绍了couchbase lite 将其文件存储在 Windows 的什么位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

本页 显示数据在各种平台上的存储位置,但不在 Windows 上.CouchDB Lite 在哪里创建 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?

推荐答案

Manager 对象包含存储数据库的根目录的路径(每个 db 放在一个子目录中)和Database 对象包含子目录的路径.

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.

默认根目录似乎是:C:\Users\\AppData\Local数据库位于子目录中,例如 testdb2.cblite2,其中名称的第一部分是您在代码中指定的数据库的名称.

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.

这篇关于couchbase lite 将其文件存储在 Windows 的什么位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆