mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-03-14 22:15:41 +08:00
refactor: code review
This commit is contained in:
@@ -52,7 +52,7 @@ SELECT
|
||||
case when column_default like 'nextval%%' then 'PRI' else '' end "columnKey",
|
||||
col_description((table_schema || '.' || table_name)::regclass, ordinal_position) AS "columnComment"
|
||||
FROM information_schema.columns
|
||||
WHERE table_schema = (select current_schema()) and table_name = %s
|
||||
WHERE table_schema = (select current_schema()) and table_name in (%s)
|
||||
order by table_name, ordinal_position
|
||||
---------------------------------------
|
||||
--PGSQL_TABLE_DDL_FUNC 表ddl函数
|
||||
|
||||
Reference in New Issue
Block a user