UNPKG

@sequeljs/ast

Version:

A SQL AST manager for JavaScript

14 lines 580 B
import type Engine from '../interfaces/Engine'; import type FactoryMethods from '../mixins/FactoryMethods'; import type Statement from '../nodes/Statement'; declare abstract class TreeManager<M extends TreeManager<M, S>, S extends Statement> { readonly ast: S; protected ctx: any; constructor(ast: S); toSQL(engine?: Engine | null | undefined): string | null; where(this: M, expr: any): M; } interface TreeManager<M extends TreeManager<M, S>, S extends Statement> extends FactoryMethods { } export default TreeManager; //# sourceMappingURL=TreeManager.d.ts.map