Skip to main content

execute_optional_expand

Function execute_optional_expand 

Source
pub fn execute_optional_expand(
    source_records: Vec<Record>,
    src_var: &str,
    rel_var: Option<&str>,
    target_var: &str,
    rel_type_id: Option<u32>,
    direction: &RelDirection,
    engine: &StorageEngine,
) -> Vec<Record> 
Expand description

Execute an optional expand (left join). For each source record, find matching edges. If matches exist, emit expanded records. If no match, emit one record with NULL-padded new variables.