Skip to content
Sheetwrite

@sheetwrite/queries

QuerySourcetype

Report a problem

On this page

Host-owned UTF-8 bytes are parsed against an explicit schema, without type guessing.

Variants 2

{
readonly format: "json";
readonly columns: readonly QueryColumnSpec[];
readonly path?: readonly string[];
}
{
readonly format: "csv";
readonly columns: readonly QueryColumnSpec[];
readonly delimiter?: number;
readonly headers?: boolean;
readonly emptyIsNull?: boolean;
}

Declaration

View full TypeScript declaration
export type QuerySource =
| {
readonly format: "json";
readonly columns: readonly QueryColumnSpec[];
readonly path?: readonly string[];
}
| {
readonly format: "csv";
readonly columns: readonly QueryColumnSpec[];
readonly delimiter?: number;
readonly headers?: boolean;
readonly emptyIsNull?: boolean;
};

Referenced by

Public exports naming QuerySource