Files
dbgate/packages/types/dumper.d.ts
2020-03-05 11:42:16 +01:00

18 lines
321 B
TypeScript

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);
}