vendredi 1 janvier 2016

"WHERE IN" statement using greendao Android ORM

I am using greendao to work with sqlite database in my app.
I need to have such feature as where in condition
I am looking for such method or any other possible ways ,but without using raw query.

I need to perform such queries SELECT * FROM news WHERE id_company IN (SELECT id FROM company WHERE state=1.

Please suggest what is the best way to perform such query using GreenDAO ORM.

Aucun commentaire:

Enregistrer un commentaire