Skip to main content

open_sqlite_db

Function open_sqlite_db 

Source
pub fn open_sqlite_db(
    path: &Path,
    call_span: Span,
) -> Result<OpenedConnection, ShellError>
Expand description

Opens a SQLite database for the given path.

  • MEMORY_DB: returns the process-wide shared connection under a mutex.
  • File paths: opens an owned connection with a busy handler.