Skip to main content

lower

Function lower 

Source
pub fn lower(
    pattern: &Pattern,
    graph: &PropertyGraph,
    schema_of: &dyn Fn(&TableReference) -> Result<SchemaRef>,
    usage: &Usage,
) -> Result<Vec<Lowered>>
Expand description

Resolve pattern against graph: one Lowered match per combination of element tables its variables can be rows of (#412), which the planner joins with UNION ALL. A variable with a label is a row of the tables that carry it (a|b: either); one without, of every table of its kind. Combinations whose edge tables do not connect their nodes’ tables are left out. When every variable has one table there is one combination, planned as before. schema_of gives a table’s columns (for properties).