On Dec 11, 2013, at 8:12 AM, Dmitry Mugtasimov <dmugtasi...@gmail.com> wrote:
> My question from stackoverflow: > http://stackoverflow.com/questions/20519910/subqueryload-does-not-populate-relation-if-backref-is-joined > > Why CASE 4 (see output) does not provide related children. It looks like if > it happens because subqueryload does not populate relation if backref is > joinedload. But what logic is behind this? Is it a bug? it is a bug, involving specific details of when each query invokes and what the state of the objects are when it encounters them. I’ve done all the heavy thinking for it at http://www.sqlalchemy.org/trac/ticket/2887, just need to refine the solution and write some tests, it will be for 0.8.
signature.asc
Description: Message signed with OpenPGP using GPGMail