Expand description
SQLite connection pool, schema migrations, and the Migrator capability.
Structs§
- Sqlite
Migrator - The migration capability for a SQLite backend.
Functions§
- connect
- Open a SQLite pool for
url(e.g.sqlite://data/sbol.dborsqlite::memory:). WAL mode plus a busy timeout let readers and a single writer coexist without spurious “database is locked” errors; foreign keys are enabled so the graph→triples cascade fires. - connect_
and_ migrate - Open
urland apply every pending migration. - migration_
status - run_
migrations
Type Aliases§
- Sqlite
Pool - An alias for
Pool, specialized for SQLite.