diff --git a/packages/nocodb/src/db/BaseModelSqlv2.ts b/packages/nocodb/src/db/BaseModelSqlv2.ts index 908d22129c..973e1c9eb0 100644 --- a/packages/nocodb/src/db/BaseModelSqlv2.ts +++ b/packages/nocodb/src/db/BaseModelSqlv2.ts @@ -168,7 +168,7 @@ class BaseModelSqlv2 { data.__proto__ = proto; } - return data ? await nocoExecute(ast, data, {}, query) : {}; + return data ? await nocoExecute(ast, data, {}, query) : null; } public async exist(id?: any): Promise {