[sqlalchemy] Automatically Creating Table Definitions

2009-11-20 Thread Rodney Haynie
In SQLAlchemy, is there some process available that will create the following code from an existing database/table? i.e. the database has one table, the name of the table is users. After running the process, the following code would be created in a file: users = Table('users', metadata,

Re: [sqlalchemy] Automatically Creating Table Definitions

2009-11-20 Thread Conor
Rodney Haynie wrote: In SQLAlchemy, is there some process available that will create the following code from an existing database/table? i.e. the database has one table, the name of the table is users. After running the process, the following code would be created in a file: users =

Re: [sqlalchemy] Automatically Creating Table Definitions

2009-11-20 Thread Rodney Haynie
Conor, Conor wrote: Rodney Haynie wrote: In SQLAlchemy, is there some process available that will create the following code from an existing database/table? i.e. the database has one table, the name of the table is users. After running the process, the following code would be created