Expand description
Database connection pooling, SQL execution, and schema migrations runner.
Structs§
Functions§
- authorize_
db_ access - close_
connections - Close and clear database connections for a deregistered user.
- close_
connections_ in_ dir - Close and clear database connections for a deregistered user in
storage_dir. - close_
databases_ under_ dir - Evicts and closes cached
Databaseinstances residing underdir, freeing their page-cache arenas and releasing open OS file handles. - get_
connection - Resolve connection to the database.
- get_
db_ path - Helper to resolve the database path. Consolidates
users/prefix into a singleusers.db. - get_
table_ name - Helper to get a safe, valid SQL table name.
- sea_
values_ to_ turso - Convert
SeaQueryValues to Turso Values. - validate_
and_ get_ user