From 50a318a243554bfbf83a97d2fc48a11577de3b2a Mon Sep 17 00:00:00 2001 From: Pranav C Date: Mon, 29 May 2023 18:32:24 +0530 Subject: [PATCH] fix: sqlite bulk insert Signed-off-by: Pranav C --- packages/nocodb/src/db/BaseModelSqlv2.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/db/BaseModelSqlv2.ts b/packages/nocodb/src/db/BaseModelSqlv2.ts index ecda3a98e6..81157382b6 100644 --- a/packages/nocodb/src/db/BaseModelSqlv2.ts +++ b/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 =