Just use print your_statement_variable Or, if you need it in a variable: str(your_statement_variable) should do the trick.
On 4/30/07, vinjvinj <[EMAIL PROTECTED]> wrote: > > Is there any way to have sqlalchemy return the sql that it is going to > execute without actually executing it? I'm using the statement class. > > Vineet -- Gaƫtan de Menten http://openhex.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---