Skip to main content

alias_paths

Function alias_paths 

Source
pub fn alias_paths(expr: &Expr) -> Vec<(String, Vec<TraversalStep>)>
Expand description

Every traversal alias in a where expression with its full path from the root, in the order the aliases appear. Each step keeps its level’s whole filter, nested label blocks included: an alias binds only the records that satisfy every block below it as well (ORDER {$alias: $o, PRODUCT: {...}} binds the orders that have such a product). The nested blocks are also walked, for the aliases bound below.