Skip to main content

Module prepared_stream

Module prepared_stream 

Source
Expand description

Streaming prepared-statement execution.

PreparedQueryStream is the analog of QueryStream for prepared statements: it drives the Bind/Execute/Sync response and yields rows in chunks so callers can process arbitrarily large result sets with constant memory.

Unlike QueryStream, the schema is known at construction time — it was captured when the statement was prepared via Describe(ā€˜S’), before any rows are fetched. This makes schema() available before the first next_chunk call.

Structs§

PreparedQueryStream
Streaming iterator for prepared-statement results without materializing all rows.