Browse Source

fix: add limitOverride for post update list

pull/8315/head
mertmit 7 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) { if (!raw) {
while (updatePkValues.length) { while (updatePkValues.length) {
const updatedRecords = await this.list({ const updatedRecords = await this.list(
pks: updatePkValues.splice(0, readChunkSize).join(','), {
}); pks: updatePkValues.splice(0, readChunkSize).join(','),
},
{
limitOverride: readChunkSize,
},
);
newData.push(...updatedRecords); newData.push(...updatedRecords);
} }

Loading…
Cancel
Save