Execute a single SQL statement that does not return rows. Used for INSERT, UPDATE, DELETE, and DDL statements.
The SQL statement to execute.
Optional params: unknown[]Optional positional parameters bound to ? placeholders.
Execute a single SQL query and return the first matching row.
The SQL SELECT statement.
Optional params: unknown[]Optional positional parameters bound to ? placeholders.
The first row as a plain object, or undefined if no rows match.
Optional exec
Minimal storage adapter interface for SQLite persistence.
The registry uses this abstraction so it can work with any SQLite driver (better-sqlite3, sql.js, Drizzle raw, etc.) without taking a hard dependency. All methods are async to support both sync and async driver wrappers.