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 {