Files
sqlite3/README.md

19 lines
883 B
Markdown
Raw Normal View History

2023-01-12 16:29:57 +00:00
# Go bindings to SQLite using Wazero
2023-01-26 01:11:09 +00:00
[![Go Reference](https://pkg.go.dev/badge/image)](https://pkg.go.dev/github.com/ncruces/go-sqlite3)
[![Go Report](https://goreportcard.com/badge/github.com/ncruces/go-sqlite3)](https://goreportcard.com/report/github.com/ncruces/go-sqlite3)
![Go Coverage](.github/coverage.svg)
2023-01-12 16:29:57 +00:00
2023-01-26 01:11:09 +00:00
⚠️ CAUTION ⚠️
This is still very much a WIP.\
DO NOT USE this with data you care about.
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
- [x] come up with a simple, nice API, enough for simple queries
- [ ] file locking, compatible with SQLite on Windows/Unix
2023-01-26 01:11:09 +00:00
- [ ] ~shared-memory, compatible with SQLite on Windows/Unix~