How to get the last sql run
Author: smallevilCreated Dec 15, 2020Updated Dec 15, 2020
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?
Source: kennethreitz/records