On Jan 30, 2013, at 7:31 PM, Gerald Thibault wrote:
> I have a user object, and an extended user object which inherits from the
> base user object. I also have a test object, which has a FK to the extended
> user object. When I try this:
>
> res = session.query(Test) \
> .options(joinedloa
I have a user object, and an extended user object which inherits from the
base user object. I also have a test object, which has a FK to the extended
user object. When I try this:
res = session.query(Test) \
.options(joinedload('user')) \
.all()
I see this sql generated:
SELECT test.id