Skip to main content

open_in_memory

Function open_in_memory 

Source
pub fn open_in_memory() -> Result<Connection, SqliteStoreError>
Expand description

Open an in-memory SQLite connection, apply mandatory PRAGMAs (except WAL — see module-level caveat), then run migrations.

Used for tests and ephemeral engine contexts.