Collect all deeply nested `Expr::WindowFunction`. They are returned in order of occurrence (depth first), with duplicates omitted.
(exprs: impl IntoIterator<Item = &'a Expr>)
| 655 | /// Collect all deeply nested `Expr::WindowFunction`. They are returned in order of occurrence |
| 656 | /// (depth first), with duplicates omitted. |
| 657 | pub fn find_window_exprs<'a>(exprs: impl IntoIterator<Item = &'a Expr>) -> Vec<Expr> { |
| 658 | find_exprs_in_exprs(exprs, &|nested_expr| { |
| 659 | matches!(nested_expr, Expr::WindowFunction { .. }) |
| 660 | }) |
| 661 | } |
| 662 | |
| 663 | /// Collect all deeply nested `Expr::OuterReferenceColumn`. They are returned in order of occurrence |
| 664 | /// (depth first), with duplicates omitted. |
no test coverage detected
searching dependent graphs…