UNPKG

@sequeljs/ast

Version:

A SQL AST manager for JavaScript

18 lines 766 B
import Attribute from '../attributes/Attribute'; import Binary from './Binary'; import type Relation from '../interfaces/Relation'; import type Visitable from '../visitors/Visitable'; import type SQLLiteral from './SQLLiteral'; export default class TableAlias extends Binary { get name(): string | SQLLiteral; set name(val: string | SQLLiteral); get relation(): Relation; set relation(val: Relation); get tableAlias(): string | SQLLiteral; set tableAlias(val: string | SQLLiteral); get tableName(): string | SQLLiteral; get(name: string | SQLLiteral): Attribute; isAbleToTypeCast(): boolean; typeCastForDatabase(attributeName: string | SQLLiteral, value: Visitable): number | string; } //# sourceMappingURL=TableAlias.d.ts.map