12345678910111213141516171819 |
- import * as AST from "../ast";
-
- export interface ISelectStatementOptions {
- arguments: AST.Secondary[];
- from?: AST.Secondary | null;
- where?: AST.Expr | null
- }
-
- export class SelectStatement {
- public arguments: AST.Secondary[];
- public from: AST.Secondary | null;
- public where: AST.Expr | null;
-
- constructor(opts: ISelectStatementOptions) {
- this.arguments = opts.arguments;
- this.from = opts.from ? opts.from : null;
- this.where = opts.where ? opts.where : null;
- }
- }
|