MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / string_column

Method string_column

nodedb/src/engine/graph/olap/columns.rs:93–98  ·  view source on GitHub ↗

Add or get a StringColumn.

(&mut self, name: &str)

Source from the content-addressed store, hash-verified

91
92 /// Add or get a StringColumn.
93 pub fn string_column(&mut self, name: &str) -> &mut StringColumn {
94 let n = self.node_count;
95 self.string_columns
96 .entry(name.to_string())
97 .or_insert_with(|| StringColumn::new(n))
98 }
99
100 /// Total number of columns.
101 pub fn column_count(&self) -> usize {

Callers 3

extract_edge_propertiesFunction · 0.80

Calls 2

entryMethod · 0.80
to_stringMethod · 0.80

Tested by 2