Skip to main content

Module db

Module db 

Source

Structs§

Db
A pooled SQLite connection. Cheap to clone (shares the pool handle). Queries run on rusqlite (blocking) under spawn_blocking via Db::with_conn — a deliberate choice, not a stopgap: builtins called from the (synchronous) Ling interpreter dispatch this way too, so one blocking DB layer serves both the async HTTP side and the interpreter bridge without two separate drivers.

Type Aliases§

SqlitePool