MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / rows_v

Function rows_v

nodedb-query/src/window/value_agg.rs:431–433  ·  view source on GitHub ↗
(vals: &[i64])

Source from the content-addressed store, hash-verified

429 }
430
431 fn rows_v(vals: &[i64]) -> Vec<Vec<Value>> {
432 vals.iter().map(|&v| vec![Value::Integer(v)]).collect()
433 }
434
435 fn agg_spec(func: &str, frame: WindowFrame, order_by: Vec<(SqlExpr, bool)>) -> WindowFuncSpec {
436 WindowFuncSpec {

Callers 6

rows_frame_sliding_sumFunction · 0.70
rows_frame_count_and_avgFunction · 0.70
rows_frame_min_maxFunction · 0.70
first_and_last_valueFunction · 0.70

Calls 2

collectMethod · 0.80
iterMethod · 0.45

Tested by 6

rows_frame_sliding_sumFunction · 0.56
rows_frame_count_and_avgFunction · 0.56
rows_frame_min_maxFunction · 0.56
first_and_last_valueFunction · 0.56