mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
20 lines
1013 B
Markdown
20 lines
1013 B
Markdown
# Go bindings to SQLite using Wazero
|
|
|
|
[](https://pkg.go.dev/github.com/ncruces/go-sqlite3)
|
|
[](https://goreportcard.com/report/github.com/ncruces/go-sqlite3)
|
|
[](https://raw.githack.com/wiki/ncruces/go-sqlite3/coverage.html)
|
|
|
|
⚠️ CAUTION ⚠️
|
|
|
|
This is still very much a WIP.\
|
|
DO NOT USE this with data you care about.
|
|
|
|
Roadmap:
|
|
- [x] build SQLite using `zig cc --target=wasm32-wasi`
|
|
- [x] `:memory:` databases
|
|
- [x] port [`test_demovfs.c`](https://www.sqlite.org/src/doc/trunk/src/test_demovfs.c) to Go
|
|
- branch [`wasi`](https://github.com/ncruces/go-sqlite3/tree/wasi) uses `test_demovfs.c` directly
|
|
- [x] design a simple, nice API, enough for simple use cases
|
|
- [x] minimal `database/sql` driver
|
|
- [x] file locking, compatible with SQLite on Windows/Unix
|
|
- [ ] shared memory, compatible with SQLite on Windows/Unix |