테이블에서 라벨명으로 표시되게 수정
This commit is contained in:
@@ -145,9 +145,13 @@ export class TableManagementService {
|
||||
cl.reference_column as "referenceColumn",
|
||||
cl.display_column as "displayColumn",
|
||||
cl.display_order as "displayOrder",
|
||||
cl.is_visible as "isVisible"
|
||||
cl.is_visible as "isVisible",
|
||||
-- Entity 조인 컬럼의 표시 컬럼 라벨 조회
|
||||
dcl.column_label as "displayColumnLabel"
|
||||
FROM information_schema.columns c
|
||||
LEFT JOIN column_labels cl ON c.table_name = cl.table_name AND c.column_name = cl.column_name
|
||||
-- Entity 조인의 display_column에 대한 라벨 정보 조회
|
||||
LEFT JOIN column_labels dcl ON cl.reference_table = dcl.table_name AND cl.display_column = dcl.column_name
|
||||
LEFT JOIN (
|
||||
SELECT kcu.column_name, kcu.table_name
|
||||
FROM information_schema.table_constraints tc
|
||||
|
||||
Reference in New Issue
Block a user