Skip to main content

init_graph_schema

Function init_graph_schema 

Source
pub fn init_graph_schema(conn: &Connection) -> Result<()>
Expand description

Apply the full knowledge graph schema (tables, indexes, FTS5 triggers) to a connection.

Idempotent — uses IF NOT EXISTS for all DDL. Safe to call on every startup.