mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-02 06:43:59 +00:00
generate SQL - execute procedure TSQL
This commit is contained in:
5
packages/types/dumper.d.ts
vendored
5
packages/types/dumper.d.ts
vendored
@@ -1,5 +1,5 @@
|
||||
import { AlterProcessor } from './alter-processor';
|
||||
import { TableInfo } from './dbinfo';
|
||||
import { CallableObjectInfo, NamedObjectInfo, TableInfo } from './dbinfo';
|
||||
import { SqlDialect } from './dialect';
|
||||
|
||||
export type TransformType = 'GROUP:YEAR' | 'GROUP:MONTH' | 'GROUP:DAY' | 'YEAR' | 'MONTH' | 'DAY'; // | 'GROUP:HOUR' | 'GROUP:MINUTE';
|
||||
@@ -17,6 +17,9 @@ export interface SqlDumper extends AlterProcessor {
|
||||
createDatabase(name: string);
|
||||
dropDatabase(name: string);
|
||||
|
||||
declareVariable(name: string, type: string, defaultValueLiteral?: string);
|
||||
executeCallable(func: CallableObjectInfo, argLiterals: string[]);
|
||||
|
||||
endCommand();
|
||||
allowIdentityInsert(table: NamedObjectInfo, allow: boolean);
|
||||
truncateTable(table: NamedObjectInfo);
|
||||
|
||||
Reference in New Issue
Block a user