【发布时间】:2011-08-27 19:38:51
【问题描述】:
[前注:我只针对 chrome/android 默认浏览器]
嗨,
我目前正在使用 js 语句 var db = openDatabase ('db_name', '', 'db_desc', 2*1024*1024); 打开 sqlite 数据库并运行我的事务。
我在C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\User Data\Default\databases\file__0\5找到了sqlite文件。
我能否以某种方式明确指出我的 sqlite 数据库文件的位置(绝对路径或提到的 here)?
我看到这可以为XUL applications 完成,例如var con = new SQLite("test.sqlite",{location:'Desk'});.
【问题讨论】:
标签: javascript google-chrome sqlite