开发者

open an existing sqlite database - HTML5

开发者 https://www.devze.com 2023-03-27 21:22 出处:网络
I am trying to access an sqlite3 D开发者_Go百科B from an HTML5 page. The DB is found the physical folder. How to open the DB. All the sample in net describes window.openDatabase() method. This is crea

I am trying to access an sqlite3 D开发者_Go百科B from an HTML5 page. The DB is found the physical folder. How to open the DB. All the sample in net describes window.openDatabase() method. This is creating a new db instance. How to open an existing database.

thanks in advance

Geervani


When you tried to use "window.openDatabase()" on an existing database, what happens to the data?

My guess is "window.openDatabase()":

  • creates the DB is not existent,
  • then use it use it if it exists
0

精彩评论

暂无评论...
验证码 换一张
取 消