SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine
You can install sqlite with:
wapm install sqlite
Note: this repo is inspired by Eric Synk sqlite3 adaptation for wasm2cil.
You can run the sqlite CLI
wapm run sqlite --dir=.
SQLite version 3.26.0 2018-12-01 12:34:55
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite>
You can also connect to a specific database
wapm run sqlite --dir=. chinook.db
wasmer-release run sqlite.wasm -- chinook.db
SQLite version 3.26.0 2018-12-01 12:34:55
Enter ".help" for usage hints.
sqlite>
Steps:
bash build.sh