[SQLObject] Feature request: createTables([])
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From:
<jpa...@ya...> - 2005-03-02 12:24:19
|
Hi! I'm thinking about table creation from classes and I would like to see something like a createTables([list of classes]) on SQLObject. That feature would make a graph traversal on the classes and create the tables from leaves to the root, based on the ForeignKey's and other relationships. That would be very useful in cases like mine, where I have 35+ classes and I need to create them on the right order to acomplish the relations, as I have some intermediate classes with attributes which are RelatedJoin's. Do you think that is possible? Is there a way of doing that with current SQLObject features? Well, thanks for the great job you are doing with SQLObject. I love this tool! JP. |