MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / from_values

Method from_values

graphlite/src/exec/result.rs:180–188  ·  view source on GitHub ↗

Create a row from a HashMap of values (backward compatibility)

(values: HashMap<String, Value>)

Source from the content-addressed store, hash-verified

178
179 /// Create a row from a HashMap of values (backward compatibility)
180 pub fn from_values(values: HashMap<String, Value>) -> Self {
181 Self {
182 values,
183 positional_values: Vec::new(),
184 source_entities: HashMap::new(),
185 text_score: None,
186 highlight_snippet: None,
187 }
188 }
189
190 /// Create a row from positional values with variable names
191 pub fn from_positional(values: Vec<Value>, variables: &[String]) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected