@prestodb/presto-js-client
Version:
This is a Presto JavaScript client that connects to Presto via Presto's REST API to run queries.
19 lines (18 loc) • 399 B
TypeScript
export interface Table {
tableCatalog: string;
tableName: string;
tableSchema: string;
tableType: string;
}
export interface Column {
columnDefault: unknown;
columnName: string;
comment: string;
dataType: string;
extraInfo: unknown;
isNullable: boolean;
ordinalPosition: number;
tableCatalog: string;
tableName: string;
tableSchema: string;
}