thanks Mike, that worked fine. my code, though, didn't went further
(i'll have to debug a little bit more) :) 

best regards, 

richard. 

Em 2014-05-11 14:43, Michael Bayer escreveu: 

> On May 11, 2014, at 10:38 AM, Richard Gerd Kuesters 
> <rich...@humantech.com.br> wrote: 
> 
>> thanks Mike! 
>> 
>> the problem is that the other side is also a selectable, so: 
>> 
>> foo = relationship("Remote", primaryjoin=myselect.c.foo == 
>> myotherselect.c.bar)
> 
> so again, i can see this might have issues, but in theory (meaning, if it 
> doesn't work, I should be able to make it work), it would be: 
> 
> foo = relationship("Remote", primaryjoin=myselect.c.foo == 
> remote(foreign(myotherselect.c.bar)))

 

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to