pub fn open_database(
path: &Path,
pool: &PoolConfig,
limits: &MemoryLimits,
) -> Result<Connection, MemoryError>Expand description
Open or create a SQLite database, configure pragmas, and run migrations.
pub fn open_database(
path: &Path,
pool: &PoolConfig,
limits: &MemoryLimits,
) -> Result<Connection, MemoryError>Open or create a SQLite database, configure pragmas, and run migrations.