mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 18:56:00 +00:00
18 lines
321 B
TypeScript
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);
|
|
}
|