@sequeljs/ast
Version:
A SQL AST manager for JavaScript
14 lines • 608 B
TypeScript
import DeleteManager from '../managers/DeleteManager';
import InsertManager from '../managers/InsertManager';
import UpdateManager from '../managers/UpdateManager';
import type SelectCore from '../nodes/SelectCore';
import type SelectStatement from '../nodes/SelectStatement';
export default abstract class CRUD {
abstract readonly ast: SelectStatement;
protected abstract ctx: SelectCore;
compileUpdate(values: any, pk: any): UpdateManager;
compileInsert(values: any): InsertManager;
createInsert(): InsertManager;
compileDelete(): DeleteManager;
}
//# sourceMappingURL=CRUD.d.ts.map