diff --git a/packages/nocodb-nest/src/db/BaseModelSqlv2.ts b/packages/nocodb-nest/src/db/BaseModelSqlv2.ts index 4cf5118874..e75caa86ed 100644 --- a/packages/nocodb-nest/src/db/BaseModelSqlv2.ts +++ b/packages/nocodb-nest/src/db/BaseModelSqlv2.ts @@ -175,7 +175,7 @@ class BaseModelSqlv2 { tableName: this.model.title, }); const { ast } = await getAst({ model, view }); - data = await nocoExecute(ast, data, {}); + data = data && (await nocoExecute(ast, data, {})); return data; }