[sqlalchemy] Re: filter Association and order the union via Orm?

2008-10-06 Thread Marco De Felice
Michael Bayer wrote: the most straightforward way is to have Parent/Child descend from a common base class and use concrete table inheritance in conjunction with polymorphic_union, as described in :

[sqlalchemy] Re: filter Association and order the union via Orm?

2008-10-06 Thread Michael Bayer
On Oct 6, 4:11 pm, Marco De Felice [EMAIL PROTECTED] wrote: Michael Bayer wrote: the most straightforward way is to have Parent/Child descend from a   common base class and use concrete table inheritance in conjunction   with polymorphic_union, as described in :  

[sqlalchemy] Re: filter Association and order the union via Orm?

2008-10-03 Thread az
On Friday 03 October 2008 17:43:56 Marco De Felice wrote: given the structure below (pasted from SA 0.5 docs of association object): left_table = Table('left', metadata, Column('id', Integer, primary_key=True), Column('l_data', String(50)) right_table = Table('right', metadata,

[sqlalchemy] Re: filter Association and order the union via Orm?

2008-10-03 Thread Michael Bayer
On Oct 3, 2008, at 10:43 AM, Marco De Felice wrote: given the structure below (pasted from SA 0.5 docs of association object): left_table = Table('left', metadata, Column('id', Integer, primary_key=True), Column('l_data', String(50)) right_table = Table('right', metadata,