如何獲取某個(gè)表的所有字段和類(lèi)型? 還有Illuminate\Database\Schema\Builder下的方法如何使用?
select * from information_schema.COLUMNS where TABLE_SCHEMA = '數(shù)據(jù)庫(kù)名' and table_name = '表名'