Skip to main content

execute_recursive_scan

Function execute_recursive_scan 

Source
pub async fn execute_recursive_scan<S: StorageEngine>(
    engine: &LiteQueryEngine<S>,
    spec: RecursiveScanSpec<'_>,
) -> Result<QueryResult, LiteError>
Expand description

Iterative fixed-point CTE scan over a collection.

Executes the base query once, then repeatedly extends the working set by joining the collection against it via join_link, stopping when no new rows emerge, the iteration cap is hit, or the limit is reached.