[sqlalchemy] How to have query sent as a single line

2010-06-02 Thread Chris H.
Is there anyway to have sqlalchemy send the queries to the database as a single line instead of multiline? The reason for this is we generate multiple GB of database logs each hour, and trying to find the rest of a given sqlalchemy query is quite a pain right now. It would be much easier for us

Re: [sqlalchemy] How to have query sent as a single line

2010-06-02 Thread Michael Bayer
very easy. throw in a ConnectionProxy, override cursor_execute(), strip newlines from the statements. On Jun 2, 2010, at 2:02 PM, Chris H. wrote: Is there anyway to have sqlalchemy send the queries to the database as a single line instead of multiline? The reason for this is we generate