fix(basic.gblib): Allow MERGE keyword in storage #386. @othonlima
This commit is contained in:
parent
796ad85fb7
commit
f0b256f728
1 changed files with 8 additions and 9 deletions
|
@ -743,8 +743,7 @@ export class SystemKeywords {
|
||||||
const { min } = await DialogKeywords.getProcessInfo(pid);
|
const { min } = await DialogKeywords.getProcessInfo(pid);
|
||||||
GBLog.info(`BASIC: Saving batch to storage '${table}' (SAVE).`);
|
GBLog.info(`BASIC: Saving batch to storage '${table}' (SAVE).`);
|
||||||
|
|
||||||
if (rows.length === 0)
|
if (rows.length === 0) {
|
||||||
{
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -2110,7 +2109,7 @@ export class SystemKeywords {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private cachedMerge:any = {};
|
private cachedMerge: any = {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Merges a multi-value with a tabular file using BY field as key.
|
* Merges a multi-value with a tabular file using BY field as key.
|
||||||
|
@ -2439,7 +2438,7 @@ export class SystemKeywords {
|
||||||
}
|
}
|
||||||
|
|
||||||
GBLog.info(`BASIC: MERGE results: merges:${merges}, additions:${adds}, skipped: ${skipped}.`);
|
GBLog.info(`BASIC: MERGE results: merges:${merges}, additions:${adds}, skipped: ${skipped}.`);
|
||||||
|
return { merges, adds, skipped };
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue