Hello.
On 25.9.2013 17:15, Michael Bayer wrote:
On Sep 25, 2013, at 10:11 AM, Ladislav Lenart lenart...@volny.cz wrote:
Hello.
Would it be possible to make these two forms
session.query(cls).options(
subqueryload(cls.foos),
subqueryload(cls.foos, Foo.bar),
)
Thank you for pointing this out!
I did not realize that it has such a consequencies, though it is perfectly
logical. My bad. All joinedloads are part of the main query now, as they should.
Also, ignore my remark about Tag info being not loaded. When there actually are
any tags, they get loaded
Hello.
Would it be possible to make these two forms
session.query(cls).options(
subqueryload(cls.foos),
subqueryload(cls.foos, Foo.bar),
)
and
session.query(cls).options(
subqueryload_all(cls.foos, Foo.bar)
)
completely equivalent, i.e. subqueryload_all
On Sep 25, 2013, at 10:11 AM, Ladislav Lenart lenart...@volny.cz wrote:
Hello.
Would it be possible to make these two forms
session.query(cls).options(
subqueryload(cls.foos),
subqueryload(cls.foos, Foo.bar),
)
and
session.query(cls).options(