Skip to content
Advertisement

Tag: string-formatting

Python SQL query string formatting

I’m trying to find the best way to format an sql query string. When I’m debugging my application I’d like to log to file all the sql query strings, and it is important that the string is properly formated. Option 1 This is good for printing the sql string. It is not a good solution if the string is long

Advertisement