When you eager load from a class to itself, this is a self-referential eager
load.A generic lazy="joined" needs to know the depth at which you'd like
to go when this occurs, otherwise it will stop as soon as it sees itself in the
path of classes to be joined.The behavior of joinedload('
Hi all,
I want to use session.query(...).options(joinedload('*')) to load all
related objects eagerly.
It seems not to work if inheritance is involved.
This is a complete working example using SQLAlchemy 0.7.7 and Elixir
0.8.0dev:
-
from elixir import *
from sqlalchemy import