fix(basic.gblib): Allow MERGE keyword in storage #380. @othonlima
This commit is contained in:
parent
595cf3f1c7
commit
9e6ae42a5d
1 changed files with 6 additions and 7 deletions
|
@ -2152,14 +2152,13 @@ export class SystemKeywords {
|
||||||
let page = 0, pageSize = 1000;
|
let page = 0, pageSize = 1000;
|
||||||
let count = 0;
|
let count = 0;
|
||||||
|
|
||||||
while (page === 0 || count !== pageSize) {
|
while (page === 0 || count === pageSize) {
|
||||||
|
const paged = await t.findAll(
|
||||||
rows = [
|
{offset:page * pageSize, limit:pageSize, subquery:false, where:{}}
|
||||||
await t.findAll(
|
);
|
||||||
{offset:page * pageSize, limit:pageSize, subquery:false, where:{}}
|
rows = [paged, ...rows];
|
||||||
), ...rows];
|
|
||||||
page++;
|
page++;
|
||||||
count = rows.length;
|
count = paged.length;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue