Support for SQLite

From NSB App Studio
Jump to navigation Jump to search

Google has deprecated native SQlite, also referred to as WebSQL. They have been warning of this for a while. (If you're interested in why they did this, check out this post).

SQLite can still be used with the help of a library. There are a couple of methods.

1. Use SQLite3 WASM to save to localStorage

You can include the SQLite3 libraries with your project. A library has been developed which provides the SQLite3 functionality for JavaScript.

AppStudio makes this easy. To enable it, select SQLite (WASM) in the Libraries section of your Project Properties: