Browse Source

fix: use tnPath for select query

pull/6712/head
mertmit 1 year ago
parent
commit
aad3bfb165
  1. 2
      packages/nocodb/src/services/columns.service.ts

2
packages/nocodb/src/services/columns.service.ts

@ -356,7 +356,7 @@ export class ColumnsService {
const data = await baseModel.execAndParse( const data = await baseModel.execAndParse(
dbDriver.raw('SELECT DISTINCT ?? FROM ??', [ dbDriver.raw('SELECT DISTINCT ?? FROM ??', [
column.column_name, column.column_name,
table.table_name, baseModel.getTnPath(table.table_name),
]), ]),
); );

Loading…
Cancel
Save