fix(basic.gblib): Allow MERGE keyword in storage #386. @othonlima

This commit is contained in:
Rodrigo Rodriguez 2024-02-08 13:56:44 -03:00
parent 796ad85fb7
commit f0b256f728

View file

@ -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 };
} }
/** /**