mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 00:46:01 +00:00
tsql call
This commit is contained in:
@@ -785,7 +785,11 @@ export class SqlDumper implements AlterProcessor {
|
||||
}
|
||||
|
||||
declareVariable(name: string, type: string, defaultValueLiteral?: string) {}
|
||||
executeCallable(func: CallableObjectInfo, argLiterals: string[]) {
|
||||
this.putCmd('^call %f(%,s)', func, argLiterals);
|
||||
executeCallable(func: CallableObjectInfo, argLiteralsByName: { [name: string]: string }) {
|
||||
this.putCmd(
|
||||
'^call %f(%,s)',
|
||||
func,
|
||||
(func.parameters || []).map(x => argLiteralsByName[x.parameterName])
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user