Generate data dictionary using mysql annotations

select TABLE_SCHEMA,TABLE_NAME,COLUMN_TYPE,COLUMN_COMMENT from information_schema.columns where TABLE_SCHEMA='数据库名' 


Guess you like

Origin blog.csdn.net/gaoxu529/article/details/80598686