A work-in-progress SQL parser written in TypeScript
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213141516 |
- import * as AST from "../ast";
-
- export interface ISelectStatementOptions {
- arguments: AST.Primary[];
- from?: AST.Primary | null;
- }
-
- export class SelectStatement {
- public arguments: AST.Primary[];
- public from: AST.Primary | null;
-
- constructor(opts: ISelectStatementOptions) {
- this.arguments = opts.arguments;
- this.from = opts.from ? opts.from : null;
- }
- }
|