On Sep 18, 2006, at 10:02 PM, Wyatt Baldwin wrote:

> One thing I don't understand is why I don't need a query.join_to for
> the nodes, cities, and states tables too, since they are related to
> the streets table similarly to the way street_names is. The only
> difference I see is that I specified primaryjoin for the other tables
> but not for street_names, but when I tried adding primaryjoin for
> street_names, it didn't (seem to) do anything.
>

ah yeah, i havent tried out your example so off the top of my head i  
dont know either :).  try putting echo=True on your create_engine so  
you can get a feel for the generated SQL.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to