When I print the statement it just prints the query with placeholders
for the paramters (and not the actual parameters). I would like to get
the actual sql that it is going to execute.
Vineet
On Apr 30, 10:36 am, Gaetan de Menten [EMAIL PROTECTED] wrote:
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 Mentenhttp://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
-~--~~~~--~~--~--~---