On Apr 10, 2007, at 11:36 AM, Rick Morrison wrote:
> I've noticed that if you specify a "primaryjoin" criteria for a > mapper relationship, SA automatically aliases the table/column > names when doing an eager load of that relationship. > > But this doesn't seem to work if within that primary join, a column > is referenced inside of a .func; SA leaves the "naked" name during > the eager load, which then of course errors. Is this supposed to work? > funcs in primary joins eh ? nasty. ive no idea what would occur there or even how that would work, so....make up a little test script for me and we'll see. if you want to try looking into the "aliasing" methodology, its probably looking hard for real columns to alias but nothing else. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---