Re: [sqlalchemy] Eagerloading a polymorphic relationship's attributes

2010-08-01 Thread Michael Bayer
On Jul 31, 2010, at 6:56 PM, Nikolaj wrote: I have a one to one relationship between Company and Employee where Employee is subclassed using joined table inheritance into Manager and Engineer. I'm trying to query for a list of companies with the employee eagerloaded including the

[sqlalchemy] Eagerloading a polymorphic relationship's attributes

2010-07-31 Thread Nikolaj
I have a one to one relationship between Company and Employee where Employee is subclassed using joined table inheritance into Manager and Engineer. I'm trying to query for a list of companies with the employee eagerloaded including the type-specific columns. I've been looking at the example at