Reputation: 1
I am new to PhoneGap and am trying to create tables and insert data using WebSQL.
On referring various questions regarding the path where it is stored, I found the path as given below:
/Users/XXXX/Library/Application Support/Google/Chrome/Default/databases/
and the file available in this path is a binary path. I cannot find any other file in the same path. I am not sure if this is the file that i need. If so, how can i use this to be used in other systems.
Upvotes: 0
Views: 34
Reputation: 1331
It's stored in a SQLite database. Here is a browser support chart I found: .
That said, the W3C has officially dropped support for WebSQL in favor of IndexedDB. Here's the equivalent chart for that:
You may also want to look at DataJS, which is a library that abstracts some of the details of local storage and works across browsers:
Hope that helps.
Upvotes: 1