Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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 --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>

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

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages