diff --git a/packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts b/packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts index 4a76d42304..05038999cc 100644 --- a/packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts +++ b/packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts @@ -2219,12 +2219,12 @@ class BaseModelSqlv2 { res.push(d); } - await transaction.commit(); - for (const pkValues of deletePkValues) { deleted.push(await this.readByPk(pkValues)); } + await transaction.commit(); + await this.afterBulkDelete(deleted, this.dbDriver, cookie); return res;