kennethreitz / records

SQL for Humans™
https://pypi.python.org/pypi/records/
ISC License
7.14k stars 570 forks source link

How to get the last sql run #204

Open smallevil opened 3 years ago

smallevil commented 3 years ago

I need to completely output the executed SQL statement to the log file during development or at a specific point in time. I don't know how to format or get the last executed SQL statement. It is the complete SQL, after parameter replacement. Can someone help me?