mac存储sqlite3数据库的默认位置是什么 [英] What is the default location where mac stores sqlite3 databases

查看:1716
本文介绍了mac存储sqlite3数据库的默认位置是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将数据从远程数据库拉入sqlite数据库我只是不知道路径在哪里mac存储sqlite3文件的路径。它只是默认位置。

I want to pull data from a remote db into an sqlite database I just don't know where the path is to where mac stores sqlite3 files. It's just the default location.

这是我想出的答案,

我不知道这是否是默认值,但我从来没有改变我的macbook的sqlite3设置,所以我假设这是事实上的默认位置,但就像我说的我不知道,它只是为我工作。

I don't know if this is the default but I never changed the sqlite3 settings on my macbook so I would assume that this is in fact the default location but like I said I don't know and it just worked for me.

我的默认位置是

sqlite://my-apps-name.db

如果你保持你的sqlite数据库与你的应用程序名称一样,所有你需要做的是给出的应用程序名称,也是db文件的名称后 sqlite://

If you keep your sqlite db the same as your applications name all you need to do is give the application name which is also the db file's name after sqlite:// and that should do it.

推荐答案

我的默认位置是

sqlite://my-apps-name.db

保持你的sqlite数据库与你的应用程序名称一样,所有你需要做的是给应用程序名称,它也是数据库文件的名称,在sqlite://后,应该这样做。

If you keep your sqlite db the same as your applications name all you need to do is give the application name which is also the db file's name after sqlite:// and that should do it.

这篇关于mac存储sqlite3数据库的默认位置是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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