Skip to main content

find_all_in_scope

Function find_all_in_scope 

Source
pub fn find_all_in_scope<'a, F>(
    scope: &'a Scope,
    predicate: &F,
) -> Vec<&'a ColumnRef>
where F: Fn(&ColumnRef) -> bool,
Expand description

Find all expressions in a scope that match a predicate, respecting scope boundaries (does not descend into child scopes).

This is the equivalent of Python sqlglot’s find_all_in_scope.