java - UNION operator with QueryBuilder -
i want create select
statement, union of 2 sub-queries. there way in ormlite create 2 queries querybuilder
, , concatenate them , create union
third querybuilder
:
select * ( first select union second select) isdefault = 0 order somerow;
somerow
changes dinamically. as know querybuilder
not support union
directly, somehow should inject concatenated union statement. result want list<myobject>
querybuilder.query()
returns it.
Comments
Post a Comment