the select(use_labels=True, from_obj=[j]) has no columns in it: str(select(use_labels=True, from_obj=[j])) SELECT FROM users JOIN email_addresses ON users.user_id = email_addresses.user_id you probably want: s = j.select(use_labels=True).alias('foo') On Jul 21, 2006, at 10:21 PM, Jonathan Ellis wrote: def testjoinwithlabels(self): |
------------------------------------------------------------------------- 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