Skip to main content

execute_plan

Function execute_plan 

Source
pub fn execute_plan(plan: &QueryPlan, db: &QueryDb) -> Vec<NodeId>
Expand description

Evaluates a single QueryPlan and returns the sorted, deduplicated set of matching NodeIds.

A fresh PlanExecutor is allocated for this call; subquery results cached during evaluation are discarded on return. For evaluating multiple plans that may share subqueries, prefer execute_batch or construct a PlanExecutor directly.