mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
25 lines
1.1 KiB
Markdown
25 lines
1.1 KiB
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 a WIP.
|
|
|
|
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] provide a simple `database/sql` driver
|
|
- [x] file locking, compatible with SQLite on macOS/Linux/Windows
|
|
- [ ] advanced SQLite features
|
|
- [ ] nested transactions
|
|
- [ ] incremental BLOB I/O
|
|
- [ ] online backup
|
|
- [ ] session extension
|
|
- [ ] snapshots
|
|
- [ ] SQL functions |