Skip to content

@sqlrooms/room-shell / LoadFileOptions

Type Alias: LoadFileOptions

LoadFileOptions = {[key: string]: unknown; schema?: string; select?: string[]; where?: string; view?: boolean; temp?: boolean; replace?: boolean; method: "read_json" | "read_ndjson" | "read_parquet" | "read_csv" | "auto"; } | {[key: string]: unknown; schema?: string; select?: string[]; where?: string; view?: boolean; temp?: boolean; replace?: boolean; options?: string | Record<string, unknown> | string[]; method: "st_read"; }

Union type of all possible file loading options Discriminated union based on the 'method' field