Skip to main content

select_engine

Function select_engine 

Source
pub fn select_engine<'a>(
    kind: GraphEngineKind,
    conn: &'a Connection,
    _db_path: &Path,
) -> Result<Box<dyn GraphEngine + 'a>>
Expand description

Open the requested engine. The cozo variant returns an error unless the cozo Cargo feature is enabled. We deliberately do not silently fall back to SQLite — if the user asked for Cozo, they should see the gap.