Skip to main content

stream_decoded_rows

Function stream_decoded_rows 

Source
pub fn stream_decoded_rows(
    on_event: &QueryStreamCallback,
    index: usize,
    sql: String,
    columns: Vec<ColumnInfo>,
    rows: impl IntoIterator<Item = Vec<Option<Value>>>,
    limit: Option<u32>,
    execution_time_ms: u64,
    rows_affected: Option<u64>,
)
Expand description

Emit already-decoded rows through QueryRowBatcher without holding a second full MultiQueryResult copy.