:warning: Superseded by https://github.com/dellisd/sqldelight-sqlite-wasm
Proof of concept of SQLDelight sqljs-driver running in a web worker.
This depends on a fork of SQLDelight that adds (basic) support for async drivers.
A build of that fork must be available in mavenLocal()
.
Once the SQLDelight snapshot is built and installed in your local maven repository, you should be able to build and run this project using this command:
./gradlew :jsBrowserRun
This will open a browser window at http://localhost:8080
and you should see a list of names that were queried from the sql.js worker database.