π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
in batch of 100 to comply with new v2 api restriction
Fendy Heryanto4b80433b9535
diff --git a/tests/playwright/setup/demoTable.ts b/tests/playwright/setup/demoTable.tsindex cc7aa2759b..0c90bd1b1e 100644--- a/tests/playwright/setup/demoTable.ts+++ b/tests/playwright/setup/demoTable.ts@@ -268,7 +268,15 @@ async function createDemoTable({break;}- await api.dbTableRow.bulkCreate('noco', context.base.id, table.id, rowAttributes);+ const BATCH_SIZE = 100;+ for (let i = 0; i < rowAttributes.length; i += BATCH_SIZE) {+ await api.dbTableRow.bulkCreate(+ 'noco',+ context.base.id,+ table.id,+ rowAttributes.slice(i * BATCH_SIZE, i * BATCH_SIZE + BATCH_SIZE)+ );+ }return table;}