Add a value to the row (both named and positional)
(&mut self, name: String, value: Value)
| 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> { |
no test coverage detected