I need a Single Table Inheritance where the `type` column already
exists and is a foreign key - `id_type` - to `types` table.

My concern is I only need to map to two different classes:

 - Foo for `polymorphic_identity=FOO_ID_TYPE`
 - Bar for all other `id_type`s

Is there a way I can accomplish this with two mappings?

Any advice?

Thanks for your support
neurino

-- 
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 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to