2023-01-12 16:29:57 +00:00
|
|
|
# Go bindings to SQLite using Wazero
|
|
|
|
|
|
2023-01-26 01:11:09 +00:00
|
|
|
[](https://pkg.go.dev/github.com/ncruces/go-sqlite3)
|
|
|
|
|
[](https://goreportcard.com/report/github.com/ncruces/go-sqlite3)
|
2023-01-27 15:50:21 +00:00
|
|
|
[](https://raw.githack.com/wiki/ncruces/go-sqlite3/coverage.html)
|
2023-01-12 16:29:57 +00:00
|
|
|
|
2023-01-26 01:11:09 +00:00
|
|
|
⚠️ CAUTION ⚠️
|
|
|
|
|
|
2023-02-22 17:51:30 +00:00
|
|
|
This is a WIP.
|
2023-01-12 16:29:57 +00:00
|
|
|
|
2023-01-16 12:54:24 +00:00
|
|
|
Roadmap:
|
2023-01-12 16:29:57 +00:00
|
|
|
- [x] build SQLite using `zig cc --target=wasm32-wasi`
|
|
|
|
|
- [x] `:memory:` databases
|
2023-01-19 15:28:36 +00:00
|
|
|
- [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
|
2023-02-17 02:21:07 +00:00
|
|
|
- [x] design a simple, nice API, enough for simple use cases
|
2023-02-18 03:43:17 +00:00
|
|
|
- [x] provide a simple `database/sql` driver
|
2023-02-23 14:13:32 +00:00
|
|
|
- [x] file locking, compatible with SQLite on macOS/Linux/Windows
|
2023-02-22 17:51:30 +00:00
|
|
|
- [ ] advanced SQLite features
|
|
|
|
|
- [ ] nested transactions
|
2023-02-22 14:19:56 +00:00
|
|
|
- [ ] incremental BLOB I/O
|
|
|
|
|
- [ ] online backup
|
|
|
|
|
- [ ] session extension
|
2023-02-22 17:51:30 +00:00
|
|
|
- [ ] snapshots
|
|
|
|
|
- [ ] SQL functions
|