文檔中提供的方法http://greendao-orm.com/documentation/queries/ 不能滿足需要,具有侷限性,使用以下語句來進行操作倒是很靈活
String sql = “select * from "+ xxxDao.getTableName();
Cursor c = session.getDatabase().rawQuery(sql,null);
文檔中提供的方法http://greendao-orm.com/documentation/queries/ 不能滿足需要,具有侷限性,使用以下語句來進行操作倒是很靈活
String sql = “select * from "+ xxxDao.getTableName();
Cursor c = session.getDatabase().rawQuery(sql,null);