Disconnects from the database (only useful in 'stateful' mode).
Executes an SQL query and returns the results.
The expected type of the rows.
The SQL query string.
Optionalparams: QueryParams
Optional query parameters.
A promise resolving to the query result.
Executes a callback within a database transaction.
The return type of the callback.
The function to execute within the transaction.
A promise resolving to the result of the callback.
Common interface for high-level Database implementations (SqliteDb, PostgresDb). Provides methods for querying and transaction management.