[sqlalchemy] DB tables, check exists before creation? duplicate and rename table in sqlalchemy?

2010-08-23 Thread keekychen.shared
Dear All, I have questions in coding my application using sqlalchemy on database tables. 1. how to create table if not exists in metadata.create_all(engine) I googled and fould this http://www.mail-archive.com/sqlalchemy-us...@lists.sourceforge.net/msg02121.html; but I found no keywords

Re: [sqlalchemy] DB tables, check exists before creation? duplicate and rename table in sqlalchemy?

2010-08-23 Thread Daniel Kluev
On Tue, Aug 24, 2010 at 2:04 AM, keekychen.shared keekychen.sha...@gmail.com wrote: Dear All, I have questions in coding my application using sqlalchemy on database tables. 1. how to create table if not exists in metadata.create_all(engine) I googled and fould this

Re: [sqlalchemy] DB tables, check exists before creation? duplicate and rename table in sqlalchemy?

2010-08-23 Thread Michael Bayer
On Aug 23, 2010, at 11:04 AM, keekychen.shared wrote: Dear All, I have questions in coding my application using sqlalchemy on database tables. 2. how to duplicate a table with name in sqlalchemy? I posted a question in