On Feb 23, 2010, at 4:45 PM, Affect wrote: > work1 = aliased(Work) > work2 = aliased(Work) > query = session.query(work1).outerjoin((work2, work1.parent)) > query = query.outerjoin((Owner, work1.owner))
bug confirmed, this is ticket #1706. for now workaround explicitly: query = query.outerjoin((Owner, work1.owner_id==Owner.id)) -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.