[sqlalchemy] Re: UNION of Query objects

2007-12-06 Thread Artur Siekielski
> > Hi. > > I know that I can do SQL UNION of two record sets when using SQL > > Expression objects. But how to do UNION of two sqlalchemy.orm.Query > > objects? I can do the UNION on SQL Expressions level and then use > > 'from_statement' from Query, but what I can do if I already have two > > Qu

[sqlalchemy] Re: UNION of Query objects

2007-12-06 Thread Michael Bayer
On Dec 6, 2007, at 11:41 AM, Artur Siekielski wrote: > > Hi. > I know that I can do SQL UNION of two record sets when using SQL > Expression objects. But how to do UNION of two sqlalchemy.orm.Query > objects? I can do the UNION on SQL Expressions level and then use > 'from_statement' from Query,