Get the number of columns.
Get the number of rows in this chunk.
Iterate over rows as objects.
Get a single column's values.
The 0-based column index
Array of values for that column
Get a single column's values by name.
The column name
Array of values for that column
Get the column information.
Get a single row.
The 0-based row index
The row as an array of values
Get a single row as an object.
The 0-based row index
The row as an object with column names as keys
Get the raw row data.
Each row is an array of values in column order.
Convert all rows to an array of objects.
Array of row objects with column names as keys
A chunk of data from a streaming query result.
DataChunks contain a fixed number of rows and provide methods to access the data in various formats.
Example