Create a row from a HashMap of values (backward compatibility)
(values: HashMap<String, Value>)
| 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 { |
nothing calls this directly
no outgoing calls
no test coverage detected