default parameter encoding for execute scripts

This commit is contained in:
SPRINX0\prochazka
2024-12-04 13:45:12 +01:00
parent edf3a072c5
commit 9029fccad4
3 changed files with 28 additions and 21 deletions

View File

@@ -174,7 +174,7 @@ class MsSqlDumper extends SqlDumper {
this.putCollection(
delimiter,
(parameters || []), param => {
this.putRaw(argLiteralsByName[param]);
this.putRaw(argLiteralsByName[param.parameterName]);
if (param?.parameterMode == 'OUT') this.put(' ^output');
}
);