Browse Source

fix(nocodb): adopt new design of ast

pull/5349/head
Wing-Kam Wong 2 years ago
parent
commit
41176313a4
  1. 3
      packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts

3
packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts

@ -147,7 +147,8 @@ class BaseModelSqlv2 {
projectName: project.title,
tableName: this.model.title,
});
data = await nocoExecute(await getAst({ model, view }), data, {});
const { ast } = await getAst({ model, view });
data = await nocoExecute(ast, data, {});
return data;
}

Loading…
Cancel
Save