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

Function eval_arg

nodedb-query/src/window/value_agg.rs:32–37  ·  view source on GitHub ↗
(spec: &WindowFuncSpec, row: &[Value], column_index: &HashMap<String, usize>)

Source from the content-addressed store, hash-verified

30}
31
32fn eval_arg(spec: &WindowFuncSpec, row: &[Value], column_index: &HashMap<String, usize>) -> Value {
33 spec.args
34 .first()
35 .map(|expr| eval_arg_for_row(expr, row, column_index))
36 .unwrap_or(Value::Null)
37}
38
39fn apply_v_running_aggregate(
40 rows: &mut [Vec<Value>],

Callers 2

Calls 2

eval_arg_for_rowFunction · 0.85
firstMethod · 0.80

Tested by

no test coverage detected