Skip to main content

Module owned_sql

Module owned_sql 

Source
Expand description

Owned, bounded SQL stream planning for embedded-local consumers.

This module deliberately does not reuse execute_sql_streaming: that legacy helper creates a borrowed iterator and commits its source transaction before returning it. The public Python stream surface instead obtains one OwnedSqlStreamPlan here, opens its cursor through an owned core session, and advances the cursor until a terminal lease transition.

Structs§

OwnedSqlStreamPlan
A preflight-validated local SQL stream plan.

Enums§

OwnedSqlRowOutcome
One row-processing outcome after consuming a physical cursor entry.