new(basic.gblib): Allow TABLE keyword multiple times per file #383.
This commit is contained in:
parent
989a45890d
commit
15b6d9ebc0
3 changed files with 4 additions and 2 deletions
|
@ -2204,10 +2204,12 @@ export class SystemKeywords {
|
|||
await t.update(obj, { where: { key1: key1Value } });
|
||||
|
||||
} else {
|
||||
|
||||
const cell = `${this.numberToLetters(j)}${i + 1}`;
|
||||
const address = `${cell}:${cell}`;
|
||||
|
||||
if (value !== found[columnName]) {
|
||||
|
||||
await this.set({ pid, handle: null, file, address, value });
|
||||
merges++;
|
||||
}
|
||||
|
|
|
@ -107,7 +107,7 @@ export class GBConfigService {
|
|||
case 'STORAGE_DIALECT':
|
||||
value = undefined;
|
||||
break;
|
||||
case 'STORAGE_STORAGE':
|
||||
case 'STORAGE_FILE':
|
||||
value = './guaribas.sqlite';
|
||||
break;
|
||||
case 'GBKB_AUTO_DEPLOY':
|
||||
|
|
|
@ -128,7 +128,7 @@ export class GBCoreService implements IGBCoreService {
|
|||
username = GBConfigService.get('STORAGE_USERNAME');
|
||||
password = GBConfigService.get('STORAGE_PASSWORD');
|
||||
} else if (this.dialect === 'sqlite') {
|
||||
storage = GBConfigService.get('STORAGE_STORAGE');
|
||||
storage = GBConfigService.get('STORAGE_FILE');
|
||||
} else {
|
||||
throw new Error(`Unknown dialect: ${this.dialect}.`);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue