Expand description
SQLite pool setup and migration runner.
Enums§
- DbError
- Errors that can occur while opening the database.
Statics§
- MIGRATIONS
- Embedded migrations. Resolved at compile time so the binary stays self-contained and no separate migration command is needed.
Functions§
- open_
and_ migrate - Open the SQLite pool from a
sqlxconnection URL and apply any pending migrations. Uses WAL journaling so reads do not block writes.