pub async fn init_sqlite_pool(db_path: PathBuf) -> Result<SqlitePool, String>Expand description
Initialize a SQLite connection pool with standard options
This helper:
- Creates parent directories if they don’t exist
- Enables
create_if_missingfor the database - Disables statement logging
- Returns a ready-to-use connection pool
§Arguments
db_path- Path to the SQLite database file
§Errors
Returns an error if directory creation or database connection fails