Saved step order is execution order; each column reference is a stable identity.
In a saved query, a join input is the ID of another saved query.
Variants 7
{ readonly kind: "filter";}{ readonly kind: "select"; readonly columns: readonly string[];}{ readonly kind: "rename"; readonly columns: readonly (readonly [id: string, name: string])[];}{ readonly kind: "changeType"; readonly column: string; readonly onError: "error" | "null";}{ readonly kind: "join"; readonly input: string; readonly keys: readonly (readonly [left: string, right: string])[];}{ readonly kind: "group"; readonly keys: readonly string[];}{ readonly kind: "unpivot"; readonly columns: readonly string[]; readonly attribute: { readonly id: string; readonly name: string }; readonly value: { readonly id: string; readonly name: string };}Declaration
View full TypeScript declaration
export type QueryStep = | { readonly kind: "filter"; } | { readonly kind: "select"; readonly columns: readonly string[]; } | { readonly kind: "rename"; readonly columns: readonly (readonly [id: string, name: string])[]; } | { readonly kind: "changeType"; readonly column: string; readonly onError: "error" | "null"; } | { readonly kind: "join"; readonly input: string; readonly keys: readonly (readonly [left: string, right: string])[]; } | { readonly kind: "group"; readonly keys: readonly string[]; } | { readonly kind: "unpivot"; readonly columns: readonly string[]; readonly attribute: { readonly id: string; readonly name: string; }; readonly value: { readonly id: string; readonly name: string; }; };Referenced by
Public exports naming QueryStep
SavedQuery@sheetwrite/coreQueryEngine@sheetwrite/queries