> Is there a way of telling if a table is inherited from another > table and which tables it inherits from in the Metadata?
inheritance is not really sql notion... so a) look at the mapper.inherits (towards root) and/or mapper.polymorphic_itereator() (towards leafs) b) see if table's primary key is foreign key to elsewhere, that may mean joined inheritance > Further to this, Is there a way of telling which column definitions > come from which table? thecolumn.table ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---