refactor:获取表索引,默认过滤主键索引

This commit is contained in:
zongyangleo
2024-03-27 08:22:26 +08:00
parent fc166650b3
commit 54ad19f97e
6 changed files with 14 additions and 29 deletions

View File

@@ -44,6 +44,7 @@ WHERE
SELECT
database ()
)
AND index_name != 'PRIMARY'
AND table_name = ?
ORDER BY
index_name asc,