Browse Source

chore: mark it optional

pull/1931/head
Wing-Kam Wong 3 years ago
parent
commit
53c6aade15
  1. 2
      packages/nocodb/src/lib/dataMapper/lib/sql/BaseModelSqlv2.ts

2
packages/nocodb/src/lib/dataMapper/lib/sql/BaseModelSqlv2.ts

@ -1476,7 +1476,7 @@ class BaseModelSqlv2 {
const response = await this.dbDriver
.batchInsert(this.model.table_name, insertDatas, 50)
.returning(this.model.primaryKey.column_name);
.returning(this.model.primaryKey?.column_name);
// await this.afterInsertb(insertDatas, null);

Loading…
Cancel
Save