Is there a way to get a Cursor from a GreenDao Query object?

转:http://stackoverflow.com/questions/13584876/is-there-a-way-to-get-a-cursor-from-a-greendao-query-object

Assume you have Query object query and dao sesssion daoSession you can run

Cursor cursor = daoSession.getDatabase().rawQuery(query.getSql(), query.getParameters()

 

posted on 2014-09-12 09:40  屁屁侠  阅读(768)  评论(0编辑  收藏  举报

导航