[sqlalchemy] capture SQL without executing

2013-03-19 Thread Catherine Devlin
Hi! I'm looking for a way to capture the text of SQL that SQLAlchemy is prepared to execute, without actually executing the SQL. There has to be a way, right? Why (#1): I'm working on a DDL-generating tool for DBAs who no-way-no-how will let some Python tool change their database directly. Why

Re: [sqlalchemy] capture SQL without executing

2013-03-19 Thread Michael Bayer
On Mar 19, 2013, at 6:46 PM, Catherine Devlin catherine.dev...@gmail.com wrote: Hi! I'm looking for a way to capture the text of SQL that SQLAlchemy is prepared to execute, without actually executing the SQL. There has to be a way, right? Why (#1): I'm working on a DDL-generating tool