Re: [sqlalchemy] Reflecting all tables in a database that creates objects with declarative objects

2010-05-06 Thread Michael Bayer
On May 5, 2010, at 5:12 PM, Michael Bayer wrote: Since Python allows dynamic generation of classes, there are easy ways to deal with this. I forgot to mention a system that works almost like the recipe I gave is the SQLSoup extension, you might like it a lot:

[sqlalchemy] Reflecting all tables in a database that creates objects with declarative objects

2010-05-05 Thread Chris Angove
I am new to Sqlalchemy and ORM in general. I also have a slightly odd use case. My existing database is a set of very simple tables. Each table has the exact same layout/columns just different names, for different collections of information. So I looked through the Documentation and it seems to

Re: [sqlalchemy] Reflecting all tables in a database that creates objects with declarative objects

2010-05-05 Thread Michael Bayer
On May 5, 2010, at 4:43 PM, Chris Angove wrote: I am new to Sqlalchemy and ORM in general. I also have a slightly odd use case. My existing database is a set of very simple tables. Each table has the exact same layout/columns just different names, for different collections of information.