Browse Source

fix: add limitOverride for post update list

pull/8315/head
mertmit 8 months ago
parent
commit
aaf9886c04
  1. 11
      packages/nocodb/src/db/BaseModelSqlv2.ts

11
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -3772,9 +3772,14 @@ class BaseModelSqlv2 {
if (!raw) {
while (updatePkValues.length) {
const updatedRecords = await this.list({
pks: updatePkValues.splice(0, readChunkSize).join(','),
});
const updatedRecords = await this.list(
{
pks: updatePkValues.splice(0, readChunkSize).join(','),
},
{
limitOverride: readChunkSize,
},
);
newData.push(...updatedRecords);
}

Loading…
Cancel
Save