MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / init_kg

Method init_kg

atomic-core/src/pristine/txn/write/triples.rs:460–467  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

458 }
459
460 fn init_kg(&mut self) -> PristineResult<()> {
461 self.txn.open_table(KG_NODES)?;
462 self.txn.open_table(KG_EDGES)?;
463 self.txn.open_multimap_table(KG_EDGES_FROM)?;
464 self.txn.open_multimap_table(KG_EDGES_TO)?;
465 self.ensure_kg_fts_schema()?;
466 Ok(())
467 }
468}
469
470#[cfg(test)]

Calls 1

ensure_kg_fts_schemaMethod · 0.80