Skip to main content

open_database

Function open_database 

Source
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.