select count(*) from information_schema.`COLUMNS` where TABLE_SCHEMA=\'dbName\' -- 数据库名 and TABLE_NAME=\'tablename\'; -- 表名
string(21) "{"docs":[],"count":0}"
select count(*) from information_schema.`COLUMNS` where TABLE_SCHEMA=\'dbName\' -- 数据库名 and TABLE_NAME=\'tablename\'; -- 表名
相关文章: