Skip to content

@sqlrooms/cells / isSqlCellStatus

Function: isSqlCellStatus()

isSqlCellStatus(status): status is { type: "sql"; status: "success" | "idle" | "running" | "cancel" | "error"; lastError?: string; referencedTables: string[]; resultName?: string; resultView?: string; resultRelationType?: "view" | "table"; lastRunTime?: number }

Parameters

ParameterType
statusCellStatus | undefined

Returns

status is { type: "sql"; status: "success" | "idle" | "running" | "cancel" | "error"; lastError?: string; referencedTables: string[]; resultName?: string; resultView?: string; resultRelationType?: "view" | "table"; lastRunTime?: number }