Check if a function is an aggregate.
(&self, name: &str)
| 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 { |
no test coverage detected