fix the batching logic

This commit is contained in:
Fendy Heryanto
2026-01-28 10:02:57 +00:00
parent 4b80433b95
commit 957ea6c0a6

View File

@@ -269,7 +269,7 @@ async function createDemoTable({
}
const BATCH_SIZE = 100;
for (let i = 0; i < rowAttributes.length; i += BATCH_SIZE) {
for (let i = 0; i < rowAttributes.length; i++) {
await api.dbTableRow.bulkCreate(
'noco',
context.base.id,