pub fn execute_read_streaming_at(
admission: &ReadAdmission<'_>,
sink: &mut StreamSink<'_>,
) -> Result<QueryResult>Expand description
execute_read_at with the statement’s batch consumer attached
(ADR-0682): a streaming statement’s terminal RETURN hands each bounded
batch to the sink as it is produced (see [streamable_part]); every
other read shape runs materialized as ever and its result replays
through the same sink — columns once, then bounded batches — before the
call returns. Either way the returned QueryResult carries the
statement’s columns, stats and effect but no rows: the consumer has
them. A consumer answering BatchFlow::Stop ends
the walk and cancels the statement (Error::Cancelled).
A PROFILE statement (a plan-metrics sink on the request) never
engages the consumer: its rows land in the result as ever, so the
profiled run’s answer is unchanged.