Skip to main content

build_scope

Function build_scope 

Source
pub fn build_scope(statement: &Statement) -> Scope
Expand description

Build the scope tree from a parsed SQL statement.

The returned Scope is the root scope; child scopes (CTEs, derived tables, subqueries, unions) are reachable via the corresponding fields.