pub fn bind_source_plan_schema_in_scope(
routines: &dyn RoutineResolution,
source: &SourcePlan,
params: &[SQLParam],
ctes: &BindingContext<'_>,
scope: SourceScope<'_>,
) -> Result<RowSchema, SQLError>Expand description
Bind a FROM item while retaining the distinction between lexical ancestors and preceding peers for consumers which traverse a source tree.