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

Method init_kg

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

Source from the content-addressed store, hash-verified

440 }
441
442 fn init_kg(&mut self) -> PristineResult<()> {
443 self.txn.open_table(KG_NODES)?;
444 self.txn.open_table(KG_EDGES)?;
445 self.txn.open_multimap_table(KG_EDGES_FROM)?;
446 self.txn.open_multimap_table(KG_EDGES_TO)?;
447 self.ensure_kg_fts_schema()?;
448 Ok(())
449 }
450}
451
452#[cfg(test)]

Calls 1

ensure_kg_fts_schemaMethod · 0.80