Expand description
SQLite initialization, WAL setup, and migration runner.
Functions§
- init_
in_ memory - Create an in-memory SQLite connection with PRAGMAs applied. Useful for testing.
- init_
schema - Initialize a SQLite database with WAL mode, foreign keys, and a custom schema.
- init_
schema_ with_ migrations - Initialize a SQLite database with optional incremental migration support.
Type Aliases§
- Migration
Fn - Migration callback: given a connection and the current schema version, apply incremental migrations and return the new version.