Go SQL driver for sqlite3 in browser (sql.js) from go-wasm
  • Go 63.2%
  • JavaScript 35.6%
  • Dockerfile 1.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-04-19 10:25:13 +01:00
.dockerignore Add test rig and docs 2020-03-25 16:52:44 +00:00
.gitignore Add wasm_exec as it has local mods to set sql global 2020-03-26 10:24:34 +00:00
.golangci.yml Linting errors 2020-03-25 14:13:59 +00:00
connection.go Don't trip over single queries ending with semicolon 2021-07-06 14:17:07 +01:00
Dockerfile Add test rig and docs 2020-03-25 16:52:44 +00:00
go.mod go.mod 2020-01-19 03:34:21 +00:00
go_sqlite_js_wasm_exec Add test rig and docs 2020-03-25 16:52:44 +00:00
js.go Log panics along with their stack 2021-07-09 15:03:05 +01:00
LICENSE WIP 2020-01-08 01:27:33 +00:00
package.json Update package.json 2022-04-08 14:53:47 +01:00
README.md Add test rig and docs 2020-03-25 16:52:44 +00:00
sql.js Refactor project to remove the bridge entirely 2020-03-25 14:05:07 +00:00
sqlite3.go Use sqlite3 as driver name, update sql.js 2021-06-25 15:12:22 +01:00
sqlite3_test.go Linting 2020-03-25 17:56:23 +00:00
stmt.go Linting errors 2020-03-25 14:13:59 +00:00
wasm_exec.js Add wasm_exec as it has local mods to set sql global 2020-03-26 10:24:34 +00:00

go-sqlite3-js

Experimental SQL driver for sql.js (in-browser sqlite) from Go WASM.

Only implements the subset of the SQL API required by Dendrite.

To run tests in Docker and Node:

$ docker build -t gsj .
$ docker run gsj

To run tests locally:

$ yarn install
$ GOOS=js GOARCH=wasm go test -exec="./go_sqlite_js_wasm_exec" .