On Jul 16, 2008, at 3:29 PM, laureano arcanio wrote:
> Hi, I'm planning to implement Data inheritance for an os project i'm > working on [1]. I have a model with a few tables and relationships > between them ( not a complicated stuff ) and i was wandering if > there is a way to accomplish data inheritance in an automated way > ( i can eventually make a script to accomplish this ) > I mind, given a Parent id, I'd like to copy it and get all child > copied and "modified" too. > > Does it possible ? if not, i will be manually doing it.. just making > the whole model introspection by hand.. ( grr ) > > Any light on it would by great ! > > ( I'm having problems to explain on English what I'm trying to do. > sorry about it) The general forms of "table inheritance" that SQLAlchemy supports directly are described here: http://www.sqlalchemy.org/docs/05/mappers.html#advdatamapping_mapper_inheritance . --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
