1.获取SQLite所有表名
SELECT * FROM sqlite_master WHERE type = ‘table’;
2.获取表字段名
PRAGMA table_info(表名);
获取SQLite所有表名和表字段名
最新推荐文章于 2025-03-06 16:29:55 发布
1.获取SQLite所有表名
SELECT * FROM sqlite_master WHERE type = ‘table’;
2.获取表字段名
PRAGMA table_info(表名);