mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 03:36:01 +00:00
sql tree - before refactor
This commit is contained in:
8
packages/types/dumper.d.ts
vendored
8
packages/types/dumper.d.ts
vendored
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user