MCPcopy Create free account
hub / github.com/cosdata/cosdata / ifc_input

Function ifc_input

src/metadata/schema.rs:593–597  ·  view source on GitHub ↗
(kvs: Vec<(&str, i32)>)

Source from the content-addressed store, hash-verified

591 // testing the fn `input_field_combinations`.
592
593 fn ifc_input(kvs: Vec<(&str, i32)>) -> MetadataFields {
594 kvs.into_iter()
595 .map(|(k, v)| (k.to_owned(), FieldValue::Int(v)))
596 .collect()
597 }
598
599 fn ifc_sort_result(result: &mut Vec<HashMap<&str, &FieldValue>>) {
600 result.sort_by_key(|c| {

Callers 1

Calls

no outgoing calls

Tested by 1