Hi there,

this is perhaps a stupid question, but we can't get it figured out
from the docs on inheritance...

Is it possible in sqlalchemy to have a hierarchy of classes of which
only the root class in the hierarchy is mapped to the database at
all.  (So the subclasses do not have any persisted attributes of their
own, and are all in essence mapped to the same table.)

I suppose single inheritance would work here, but I'd like to keep
open the option of one day adding one special subclass which DOES in
fact want to persist extra attributes - this time using joined table
inheritance.

Is something (or a mix) like this possible?

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