select * from sqlite_master
查询结果:
该表中name即为表名,sql为创建该表的sql语句,可用sql中是否包含该字段来判断:
select count(*) from sqlite_master where name='Formular' and sql like '%ntype%'
Formular为表名,ntype为字段名
select * from sqlite_master
查询结果:
该表中name即为表名,sql为创建该表的sql语句,可用sql中是否包含该字段来判断:
select count(*) from sqlite_master where name='Formular' and sql like '%ntype%'
Formular为表名,ntype为字段名