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

Method add_value

graphlite/src/exec/result.rs:227–230  ·  view source on GitHub ↗

Add a value to the row (both named and positional)

(&mut self, name: String, value: Value)

Source from the content-addressed store, hash-verified

225
226 /// Add a value to the row (both named and positional)
227 pub fn add_value(&mut self, name: String, value: Value) {
228 self.values.insert(name, value.clone());
229 self.positional_values.push(value);
230 }
231
232 /// Get a value by variable name
233 pub fn get_value(&self, name: &str) -> Option<&Value> {

Calls 2

cloneMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected