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

Method init_kg

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

Source from the content-addressed store, hash-verified

306 }
307
308 fn init_kg(&mut self) -> PristineResult<()> {
309 self.txn.open_table(KG_NODES)?;
310 self.txn.open_table(KG_EDGES)?;
311 self.txn.open_multimap_table(KG_EDGES_FROM)?;
312 self.txn.open_multimap_table(KG_EDGES_TO)?;
313 self.txn.open_multimap_table(KG_FTS)?;
314 Ok(())
315 }
316}
317
318#[cfg(test)]

Callers 8

run_asyncMethod · 0.45
run_asyncMethod · 0.45
test_kg_edge_crudFunction · 0.45
test_kg_neighborsFunction · 0.45
test_kg_fts_searchFunction · 0.45
test_kg_persistenceFunction · 0.45

Calls

no outgoing calls

Tested by 6

test_kg_edge_crudFunction · 0.36
test_kg_neighborsFunction · 0.36
test_kg_fts_searchFunction · 0.36
test_kg_persistenceFunction · 0.36