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

Function bind_node

nodedb/src/engine/graph/pattern/executor/mod.rs:305–310  ·  view source on GitHub ↗
(row: &mut BindingRow, binding: &NodeBinding, csr: &CsrIndex, node_id: u32)

Source from the content-addressed store, hash-verified

303}
304
305fn bind_node(row: &mut BindingRow, binding: &NodeBinding, csr: &CsrIndex, node_id: u32) {
306 if let Some(ref name) = binding.name {
307 row.entry(name.clone())
308 .or_insert_with(|| csr.node_name_raw(node_id).to_string());
309 }
310}
311
312/// LEFT JOIN: merge clause results with existing rows.
313fn left_join_rows(

Callers 1

execute_tripleFunction · 0.85

Calls 4

entryMethod · 0.80
to_stringMethod · 0.80
cloneMethod · 0.45
node_name_rawMethod · 0.45

Tested by

no test coverage detected