On May 11, 2014, at 10:38 AM, Richard Gerd Kuesters <[email protected]> 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to