Michael Bayer wrote:
> oh.   how are you getting it to join from soup-> (album join  
> vinyl) ?   "soup" has a relation to "album join vinyl" and you're  
> using query.join() ?   it should be creating an aliased subquery for  
> the right side of the join in that case.   I thought 0.4 was able to  
> do this; 0.5 definitely can.

Attached is the example script from my previous thread, adapted to show 
the present issue.

The setup is basically this:

   ratable_record = records.join(
      ratings, onclause=(ratings.c.id==records.c.id))

   orm.mapper(RatableRecord, ratable_record,
      inherits=Soup, inherit_condition=(records.c.id==soup.c.id))

\malthe

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Attachment: example.tar.gz
Description: GNU Zip compressed data

Reply via email to