简体   繁体   中英

How to use Sqlite Database in browser for offline usage

I have developed one application in ionic for offline mode. I have used sqlite database to store the data. Now i want to create a browser build. But sqlite is not supported in browser. Is there any way to use sqlite in browser?

Or else is there any database which works same as sqlite for browser.( kindly do not suggest websql database and pouchdb )

i am using pouchdb for now, but there is lots of redevelopment because queries in pouchdb and sqlite are very different

As of this moment there is no way of using SQLite with ionic in the browser. Did you maybe find a solution to your own problem?

For anyone reading this that wants to purely use SQLite in their app (instead of localstorage) you can use a livereload build on a test device and easily debug and test your code this way. Just connect dev tools and see all the console messages.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM