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

SQLite3

@korulang/sqlite3@0.0.1

SQLite3 bindings for Koru with phantom type obligations

sqlite3/index.kz · 24 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!stream!
string 1 state

open

<opened!> index.kz:108

close

<!opened> index.kz:138

open.pooled

<opened!> index.kz:187

close.pooled

<!opened> index.kz:212

batch.begin

index.kz:259

batch.commit

index.kz:278

batch.committed

index.kz:320

exec

<opened> index.kz:360

query.literal

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

release.row

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

default

comptimetransform index.kz:443

default.impl

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

query

comptimetransform index.kz:738

query.impl

norun <!opened><stream!><opened!> index.kz:748

rows

<!opened><stream!><opened!> index.kz:1005

next

<!stream><stream!><opened!> index.kz:1040

finalize.text

<!text> index.kz:1075

finalize.stmt

<!stream><opened!> index.kz:1085

col.int

<row> index.kz:1108

col.text

<row> index.kz:1119

col.real

<row> index.kz:1127

scol.int

<stream> index.kz:1157

scol.text

<stream> index.kz:1165

scol.real

<stream> index.kz:1173