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

Method is_aggregate

nodedb-sql/src/functions/registry.rs:129–132  ·  view source on GitHub ↗

Check if a function is an aggregate.

(&self, name: &str)

Source from the content-addressed store, hash-verified

127
128 /// Check if a function is an aggregate.
129 pub fn is_aggregate(&self, name: &str) -> bool {
130 self.lookup(name)
131 .is_some_and(|f| f.category == FunctionCategory::Aggregate)
132 }
133
134 /// Check if a function is a window function.
135 pub fn is_window(&self, name: &str) -> bool {

Callers 2

pre_visit_exprMethod · 0.80
post_visit_exprMethod · 0.80

Calls 1

lookupMethod · 0.45

Tested by

no test coverage detected