π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
limit v3 update and delete to max 10 records at once
Fendy Heryantoafd1b6ac49cc
diff --git a/packages/nocodb/src/services/v3/data-v3.service.ts b/packages/nocodb/src/services/v3/data-v3.service.tsindex 5e431dc336..48d7a04090 100644--- a/packages/nocodb/src/services/v3/data-v3.service.ts+++ b/packages/nocodb/src/services/v3/data-v3.service.ts@@ -634,6 +634,9 @@ export class DataV3Service {[primaryKey.title]: record.id,}));+ if (recordIds.length > V3_INSERT_LIMIT) {+ NcError.maxInsertLimitExceeded(V3_INSERT_LIMIT);+ }await this.dataTableService.dataDelete(context, {...param,body: recordIds,@@ -684,6 +687,10 @@ export class DataV3Service {},];+ if (transformedBody.length > V3_INSERT_LIMIT) {+ NcError.maxInsertLimitExceeded(V3_INSERT_LIMIT);+ }+await this.dataTableService.dataUpdate(context, {...param,body: transformedBody,