From e702f49abb28fb0cd38c3a966fd483061465438d Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 20 Sep 2023 09:31:19 +0530 Subject: [PATCH] fix: exclude unnecessary fields from read data(nested) --- 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 b2b9088ff7..1300a4fe9f 100644 --- a/packages/nocodb/src/db/BaseModelSqlv2.ts +++ b/packages/nocodb/src/db/BaseModelSqlv2.ts @@ -165,7 +165,7 @@ class BaseModelSqlv2 { data.__proto__ = proto; } - return data ? await nocoExecute(ast, data, {}, query) : null; + return data ? await nocoExecute(ast, data, {}, dependencyFields) : null; } public async exist(id?: any): Promise {