2024-04-11 15:18:49 +01:00
2024-04-04 01:25:52 +01:00
2024-04-10 13:15:36 +01:00
2024-04-04 01:25:52 +01:00
2024-04-11 15:18:49 +01:00
2024-04-11 12:00:17 +01:00
2024-04-10 13:15:36 +01:00
2024-04-11 12:00:17 +01:00
2024-04-11 15:18:49 +01:00
2023-03-05 12:20:02 +00:00
2024-01-18 15:53:00 +00:00
2023-12-02 12:17:18 +00:00
2024-01-27 10:57:46 +00:00
2024-03-27 07:54:08 +00:00
2024-03-27 07:54:08 +00:00
2024-01-18 15:53:00 +00:00
2023-12-02 12:17:18 +00:00
2024-01-11 02:18:12 +00:00
2024-04-04 01:25:52 +01:00
2024-04-04 01:25:52 +01:00
2024-04-04 01:25:52 +01:00
2024-01-27 10:57:46 +00:00
2024-04-10 13:15:36 +01:00
2024-04-10 13:15:36 +01:00
2023-08-09 16:16:45 +01:00
2024-04-10 13:15:36 +01:00
2023-12-29 23:42:37 +00:00
2023-01-11 14:54:42 +00:00
2023-12-29 23:42:37 +00:00
2023-11-04 01:18:25 +00:00
2024-04-11 15:18:49 +01:00
2023-12-02 12:17:18 +00:00
2024-04-10 13:15:36 +01:00
2024-03-22 00:21:00 +00:00
2024-01-03 12:43:03 +00:00
2024-03-27 07:54:08 +00:00
2024-01-18 15:53:00 +00:00
2024-01-08 19:23:56 +00:00
2024-03-27 07:54:08 +00:00

Go bindings to SQLite using Wazero

Go Reference Go Report Go Coverage

Go module github.com/ncruces/go-sqlite3 is cgo-free SQLite wrapper.
It provides a database/sql compatible driver, as well as direct access to most of the C SQLite API.

It wraps a Wasm build of SQLite, and uses wazero as the runtime.
Go, wazero and x/sys are the only runtime dependencies.

Packages

Extensions

Advanced features

Caveats

This module replaces the SQLite OS Interface (aka VFS) with a pure Go implementation, which has advantages and disadvantages.

Read more about the Go VFS design here.

Testing

This project aims for high test coverage. It also benefits greatly from SQLite's and wazero's thorough testing.

The Go VFS is tested by running SQLite's mptest on Linux, macOS, Windows and FreeBSD.

Performance

Perfomance of the database/sql driver is competitive with alternatives.

The Wasm and VFS layers are also tested by running SQLite's speedtest1.

Alternatives

Description
No description provided
Readme MIT 49 MiB
Languages
Go 89.9%
C 5.2%
WebAssembly 3.5%
Shell 1.4%