Browse Source

fix: add limitOverride for post update list

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

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

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

Loading…
Cancel
Save