Browse Source

fix: sqlite bulk insert

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5901/head
Pranav C 1 year ago
parent
commit
50a318a243
  1. 2
      packages/nocodb/src/db/BaseModelSqlv2.ts

2
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -2142,7 +2142,7 @@ class BaseModelSqlv2 {
for (const insertData of insertDatas) {
const query = trx(this.tnPath).insert(insertData);
const id = (await query)[0];
response.push(await this.readByPk(id));
response.push(id);
}
} else {
response =

Loading…
Cancel
Save