Collect all deeply nested `Expr::AggregateFunction`. They are returned in order of occurrence (depth first), with duplicates omitted.
(exprs: impl IntoIterator<Item = &'a Expr>)
| 647 | /// They are returned in order of occurrence (depth |
| 648 | /// first), with duplicates omitted. |
| 649 | pub fn find_aggregate_exprs<'a>(exprs: impl IntoIterator<Item = &'a Expr>) -> Vec<Expr> { |
| 650 | find_exprs_in_exprs(exprs, &|nested_expr| { |
| 651 | matches!(nested_expr, Expr::AggregateFunction { .. }) |
| 652 | }) |
| 653 | } |
| 654 | |
| 655 | /// Collect all deeply nested `Expr::WindowFunction`. They are returned in order of occurrence |
| 656 | /// (depth first), with duplicates omitted. |
no test coverage detected
searching dependent graphs…