server/database library

Database engine: tables + views, executes statements (DDL/DML/queries), handles transactions, foreign keys, CHECK constraints, AUTOINCREMENT, aggregates/GROUP BY, subqueries, UNION, etc., and persists to JSON.

Classes

Database

Enums

AuthorizerResult
Outcome of an AuthorizerCallback invocation. Mirrors the SQLITE_OK / SQLITE_DENY / SQLITE_IGNORE constants of the C API.

Typedefs

AuthorizerCallback = AuthorizerResult Function(Statement action, String? tableName)
Authorizer callback. Invoked by Database.executeStmt for every dispatched statement; the second argument is the primary table the statement targets (or null when there is none, e.g. PRAGMA).