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

Function frame

nodedb-query/src/window/value_agg.rs:458–464  ·  view source on GitHub ↗
(mode: &str, start: FrameBound, end: FrameBound)

Source from the content-addressed store, hash-verified

456 }
457
458 fn frame(mode: &str, start: FrameBound, end: FrameBound) -> WindowFrame {
459 WindowFrame {
460 mode: mode.into(),
461 start,
462 end,
463 }
464 }
465
466 #[test]
467 fn running_sum_is_cumulative() {

Callers 7

rows_frame_sliding_sumFunction · 0.85
rows_frame_count_and_avgFunction · 0.85
rows_frame_min_maxFunction · 0.85
first_and_last_valueFunction · 0.85
rows_bounds_resolutionFunction · 0.85
groups_bounds_resolutionFunction · 0.85

Calls

no outgoing calls

Tested by 7

rows_frame_sliding_sumFunction · 0.68
rows_frame_count_and_avgFunction · 0.68
rows_frame_min_maxFunction · 0.68
first_and_last_valueFunction · 0.68
rows_bounds_resolutionFunction · 0.68
groups_bounds_resolutionFunction · 0.68