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

Method post_visit_expr

nodedb-sql/src/aggregate_walk.rs:148–157  ·  view source on GitHub ↗
(&mut self, expr: &Expr)

Source from the content-addressed store, hash-verified

146 }
147
148 fn post_visit_expr(&mut self, expr: &Expr) -> ControlFlow<()> {
149 if let Expr::Function(f) = expr
150 && self.functions.is_aggregate(&function_name(f))
151 && f.over.is_none()
152 && self.inside_aggregate > 0
153 {
154 self.inside_aggregate -= 1;
155 }
156 ControlFlow::Continue(())
157 }
158}
159
160// ── Helpers ─────────────────────────────────────────────────────────

Callers

nothing calls this directly

Calls 2

is_aggregateMethod · 0.80
function_nameFunction · 0.70

Tested by

no test coverage detected