Skip to main content

execute_union

Function execute_union 

Source
pub fn execute_union(
    view: &GraphView<'_>,
    union: &UnionQuery,
    params: &Params<'_>,
) -> Result<ResultSet, String>
Expand description

Execute a read query that may be a UNION / UNION ALL chain. Each part is planned and executed against the same view (so masking applies uniformly), then combined left-to-right: UNION dedups the accumulated rows, UNION ALL concatenates. All parts must project the same column names.