Available
amalgame-sqlite
Embedded SQLite 3, public domain, zero system deps.
Overview
Direct binding to SQLite 3 vendored inside the package. No system library to install — the SQLite C code is compiled alongside your binary. Ideal for single-node apps, local development, and anything that does not need a separate DB server.
Features
- ✓
Database.Open(path),Prepare(sql),Bind,Step,FetchAPI - ✓Explicit transactions via
BEGIN/COMMIT/ROLLBACK - ✓WAL and rollback journaling modes
- ✓Public domain — no license friction
- ✓Vendored: a single
amc package add sqliteand it compiles
Example
Minimal usage example — copy-paste runnable after install.
amc package add sqlite
let db = Database.Open("data.db")
db.Exec("CREATE TABLE users (id INT, name TEXT)")
db.Exec("INSERT INTO users VALUES (1, 'Alice')")
let rows = db.Query("SELECT * FROM users")
At a glance
- License: Apache-2.0
- Install:
amc package add sqlite - Source: amalgame-lang/amalgame-database-sqlite
- Official index: amalgame-lang/packages-index