sql tree - before refactor

This commit is contained in:
Jan Prochazka
2020-03-05 11:42:16 +01:00
parent 0507e84457
commit bf607fcb06
12 changed files with 136 additions and 18 deletions

View File

@@ -2,8 +2,16 @@ import { TableInfo } from "./dbinfo";
export interface SqlDumper {
s: string;
putRaw(s: string);
put(format: string, ...args);
putCmd(format: string, ...args);
putCollection<T>(
delimiter: string,
collection: T[],
lambda: (item: T) => void
);
endCommand();
createTable(table: TableInfo);
}