jeudi 26 mars 2015

Ormlite OR key in query

Someone please help me with



Ormlite



. I need use in queryBuilder construction like this:



> where().eq( ..., ...).and().eq( ...., .. ).and().eq( ..., ... ).and
> (.... or ....).


I cannot implement "AND (id = 6 OR some = true)" f.e. Is it possible to realize "AND (.... OR ....)" in querybuilder? OrmLite gives me results like OR is general, not part of AND construction. Sorry for bad English and will be glad any proposals.


Aucun commentaire:

Enregistrer un commentaire