[sqlalchemy] Re: alias not used with relationship to arbitary select

2007-03-30 Thread hdmail
Thanks Michael. it works as you've described. Huy put the order_by in your status relation. On Mar 26, 2007, at 12:23 PM, HD Mail wrote: I think the issue is you cant put a task_status ordering in your Task mapper since that table is not part of its mapping.

[sqlalchemy] Re: alias not used with relationship to arbitary select

2007-03-26 Thread HD Mail
I think the issue is you cant put a task_status ordering in your Task mapper since that table is not part of its mapping. http://www.sqlalchemy.org/trac/wiki/ FAQ#ImusinglazyFalsetocreateaJOINOUTERJOINandSQLAlchemyisnotconstructing

[sqlalchemy] Re: alias not used with relationship to arbitary select

2007-03-23 Thread Michael Bayer
I think the issue is you cant put a task_status ordering in your Task mapper since that table is not part of its mapping. http://www.sqlalchemy.org/trac/wiki/ FAQ#ImusinglazyFalsetocreateaJOINOUTERJOINandSQLAlchemyisnotconstructing