A work-in-progress SQL parser written in TypeScript
Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
12345678910111213141516 |
- import * as AST from "../ast";
-
- export interface ISelectStatementOptions {
- arguments: AST.Secondary[];
- from?: AST.Secondary | null;
- }
-
- export class SelectStatement {
- public arguments: AST.Secondary[];
- public from: AST.Secondary | null;
-
- constructor(opts: ISelectStatementOptions) {
- this.arguments = opts.arguments;
- this.from = opts.from ? opts.from : null;
- }
- }
|