Re: [sqlalchemy] contains_eager across multiple relationships using aliases

2012-01-28 Thread Justin Thiessen
On Friday, January 20, 2012 9:17:53 PM UTC-8, Michael Bayer wrote: > > > On Jan 20, 2012, at 6:59 PM, Justin Thiessen wrote: > > joins> > > contains_eager(User.job, alias=job_alias) > contains_eager(User.job, Job.desk, alias=desk_alias) > > both are need

[sqlalchemy] contains_eager across multiple relationships using aliases

2012-01-20 Thread Justin Thiessen
sed models. This would reduce the performance somewhat but should solve the problem. It does seem though, that there is no reason why contains_eager should not handle the case I am describing, so I feel like I'm just missing something obvious. Any help or direction would be most appreciat