wapm-packages / sqlite

SQLite compiled to WebAssembly and WASI

Home Page:https://wapm.io/package/sqlite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SQLite

You can install sqlite with:

wapm install sqlite

Note: this repo is inspired by Eric Synk sqlite3 adaptation for wasm2cil.

Running

You can run the sqlite CLI

$ wapm run sqlite
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 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>

Building from Source

You can build SQLite from source very easily with wasienv.

Steps:

  1. Run bash build.sh

About

SQLite compiled to WebAssembly and WASI

https://wapm.io/package/sqlite


Languages

Language:C 100.0%Language:CMake 0.0%Language:Shell 0.0%