These libraries are experimental. APIs may change without notice. Generated from source with koruc 0.1.7 on 9/16/2026.

SQLite3

@korulang/sqlite3@0.0.1

SQLite3 bindings for Koru with phantom type obligations

sqlite3/index.kz · 15 tors

@koru/sqlite - SQLite bindings for Koru First official Koru library package. Demonstrates: phantom obligations, auto-dispose, ~std/build:requires

Phantom lifecycles

Derived from the phantom labels in the declarations below — state! issues an obligation the compiler will chase, !state discharges it, a bare state holds it without moving it. Nothing here is hand-drawn.

Connection 1 state opened!
Statement 2 states row!prepared!
string 1 state

open

<opened!> index.kz:69

close

<!opened> index.kz:86

exec

<opened> index.kz:101

query.literal

<!opened><row!><opened!> index.kz:118

release.row

<!row><row> index.kz:159

default

comptimetransform index.kz:180

default.impl

<!opened><row!><opened!> index.kz:192

query

comptimetransform index.kz:466

query.impl

norun <!opened><opened!><prepared!><row!> index.kz:476

next

<!opened><!prepared><!row><opened!><prepared!><row!> index.kz:726

finalize.text

<!text> index.kz:750

finalize.stmt

<!prepared> index.kz:757

col.int

<row> index.kz:770

col.text

<row> index.kz:778

col.real

<row> index.kz:785