- changed status to resolved
query(SomeSubClass.foo, SomeSubClass.bar).join((some_table, SomeSubClass.foo==some_table.c.bar)) doesn't work
Issue #1431
resolved
No description provided.
Comments (2)
-
reporter -
reporter - removed milestone
Removing milestone: 0.5.xx (automated comment)
- Log in to comment
this bug was actually a lot more severe, and prevented any join from (SubClass.col) from working correctly. It would cause:
to select from the base table, inconsistently versus plain:
this was due to query.join() falling down to onclause.clause_element() - that logic should ultimately be removed since it only serves part of the "reverse join" use case (the part that looks nonsensical). In all other cases an error was raised.
698a3c1ac665e7cd2ef8d5ad3ebf51b7fe6661f4