On Jun 10, 2008, at 8:34 AM, ml wrote:

>
> So as you can see the table "articles" is quite redundant because it  
> has
> only the primary key column but I didn't find any other way to select
> articles directly from the table "virtual_items" according to the  
> column
> "kind" without joining to another specialized table. Is there any way
> around this to omit the "articles" table?

dont put any table in the "Article" mapper. It will inherit from the  
base using single table inheritance.


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

Reply via email to