Browse Source

fix: can’t find Id

pull/4632/head
诗人的咸鱼 2 years ago
parent
commit
730c356b1e
  1. 2
      packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts

2
packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts

@ -1995,7 +1995,7 @@ class BaseModelSqlv2 {
if (Object.keys(d).length) {
const response = await transaction(this.model.table_name)
.del()
.where(d);
.where(await this.model.mapAliasToColumn(d));
res.push(response);
}
}

Loading…
Cancel
Save