mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-03-16 15:05:56 +08:00
feat: 数据库表操作显示表size&其他小优化
This commit is contained in:
@@ -1,15 +1,3 @@
|
||||
--MYSQL_TABLE_MA 表信息元数据
|
||||
SELECT
|
||||
table_name tableName,
|
||||
table_comment tableComment
|
||||
from
|
||||
information_schema.tables
|
||||
WHERE
|
||||
table_schema = (
|
||||
SELECT
|
||||
database ()
|
||||
)
|
||||
---------------------------------------
|
||||
--MYSQL_TABLE_INFO 表详细信息
|
||||
SELECT
|
||||
table_name tableName,
|
||||
@@ -21,7 +9,8 @@ SELECT
|
||||
FROM
|
||||
information_schema.tables
|
||||
WHERE
|
||||
table_schema = (
|
||||
table_type = 'BASE TABLE'
|
||||
AND table_schema = (
|
||||
SELECT
|
||||
database ()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user