GreenDao 执行sql语句
时间:2014-09-14 11:24:07
收藏:0
阅读:2239
文档中提供的方法http://greendao-orm.com/documentation/queries/ 不能满足需要,具有局限性,使用以下语句来进行操作倒是很灵活
String sql = “select * from "+ xxxDao;
Cursor c = session.getDatabase().rawQuery(sql,null);
原文:http://blog.csdn.net/zjbpku/article/details/39268115
评论(0)