@uwdata/mosaic-sql
Version:
SQL query construction and analysis.
24 lines • 706 B
TypeScript
import { ExprNode } from './node.js';
/**
* Check if a value is a table reference node.
* @param value The value to check.
*/
export declare function isTableRef(value: unknown): value is TableRefNode;
export declare class TableRefNode extends ExprNode {
/** The table name, including namespaces. */
readonly table: string[];
/**
* Instantiate a table reference node.
* @param table The table name.
*/
constructor(table: string | string[]);
/**
* The table name without database or schema namespaces.
*/
get name(): string;
/**
* Generate a SQL query string for this node.
*/
toString(): string;
}
//# sourceMappingURL=table-ref.d.ts.map