Is there anyway to print the query with the params in place?

example:

products = sa.query(entity_object).filter
(entity_table.c.created_at<time_object)
print products


Prints the query, but without the params.
For debugging it would be nice if it could produce something i can
paste and execute easily on my database interface.
Is there anyway to do that?

--~--~---------~--~----~------------~-------~--~----~
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 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to