Disconnects from the database.
Executes a single SQL query. Joins active transaction if called within a transaction block.
Optionalparams: QueryParamsExecutes operations within a transaction using AsyncLocalStorage for context. Top-level transactions are serialised; nested calls (savepoints) never wait.
Public SqliteDb implementation. Provides high-level API for SQLite/LibSQL, handling connections, transactions, and result normalization.