On this page
Equal-length columns with a u32 row count; returned buffers are owned by the caller.
Members
Properties
readonly rowCount: number;
read-only
Number of rows; every column holds this many.
The batch's columns, in output order.
Declaration
View full TypeScript declaration
export interface QueryBatch {
readonly rowCount: number;
Referenced by
Public exports naming QueryBatch
type QueryColumn = ColumnState &
(
| { readonly type: "number"; readonly values: Float64Array }
| { readonly type: "logical"; readonly values: Uint8Array }
| {
readonly type: "text";
readonly bytes: Uint8Array;
readonly offsets: Uint32Array;
}
| { readonly type: "date"; readonly values: Int32Array }
| { readonly type: "dateTime"; readonly values: BigInt64Array }
| ({ readonly type: "mixed" } & QueryMixedLanes)
);type QueryColumn = ColumnState &
(
| { readonly type: "number"; readonly values: Float64Array }
| { readonly type: "logical"; readonly values: Uint8Array }
| {
readonly type: "text";
readonly bytes: Uint8Array;
readonly offsets: Uint32Array;
}
| { readonly type: "date"; readonly values: Int32Array }
| { readonly type: "dateTime"; readonly values: BigInt64Array }
| ({ readonly type: "mixed" } & QueryMixedLanes)
);type QueryColumn = ColumnState &
(
| {
readonly type: "number";
readonly values: Float64Array;
}
| {
readonly type: "logical";
readonly values: Uint8Array;
}
| {
readonly type: "text";
readonly bytes: Uint8Array;
readonly offsets: Uint32Array;
}
| {
readonly type: "date";
readonly values: Int32Array;
}
}Typed host buffers; validity and sparse error lanes preserve null/error distinctions.API reference