android ormlite 清空表
delete from TableName; //清空数据 update sqlite_sequence SET seq = 0 where name ='TableName';//自增长ID为0 Sample: DatabaseHelper helper = DatabaseHelper.getHelper(context); itemDaoOpe = helper.getDao(Item.class); itemDaoOpe.queryRaw("delete from item"); itemDaoOpe.queryRaw("update sqlite_sequence SET seq = 0 where name ='item'");