Skip to main content

open_with_oracle_in_memory

Function open_with_oracle_in_memory 

Source
pub fn open_with_oracle_in_memory<O>(
    oracle: Arc<O>,
) -> Result<OracleEngine<O>, SqliteStoreError>
where O: OraclePort + Send + Sync + 'static,
Expand description

Open an in-memory SQLite engine wired with a real oracle.

Useful for integration tests and ephemeral oracle-enabled contexts.

§Errors

Returns SqliteStoreError if the connection cannot be opened or migrations fail.