Skip to main content

Module duckdb

Module duckdb 

Source
Expand description

DuckDB-backed GraphStore.

Tables match the v0.4.0-rc1 migration shape — one row per edge, valid_to stored as nullable RFC3339 string. We inherit the Arc<Mutex<duckdb::Connection>> + spawn_blocking pattern from mnemo-core::storage::duckdb so the trait methods stay async-safe despite DuckDB’s not-Send connection.

Structs§

DuckGraphStore

Constants§

CREATE_GRAPH_EDGES_TABLE
CREATE_GRAPH_NODES_TABLE
SQL — kept as one string each so a future migrator can diff them against a stored schema version.

Functions§

run_migrations