sqlite 查看数据库表和字段
查看所有表名:
select name from sqlite_master where type='table' order by name;
查看表的字段:
PRAGMA table_info([tablename]); tablename 为实际的数据表名
查看所有表名:
select name from sqlite_master where type='table' order by name;
查看表的字段:
PRAGMA table_info([tablename]); tablename 为实际的数据表名