Show More
@@ -23,6 +23,8 b' def format_sql(sql):' | |||||
23 | sql = one_space_trim(sql) |
|
23 | sql = one_space_trim(sql) | |
24 | sql = sql\ |
|
24 | sql = sql\ | |
25 | .replace('SELECT', '\n\tSELECT \n\t')\ |
|
25 | .replace('SELECT', '\n\tSELECT \n\t')\ | |
|
26 | .replace('UPDATE', '\n\tUPDATE \n\t')\ | |||
|
27 | .replace('DELETE', '\n\tDELETE \n\t')\ | |||
26 | .replace('FROM', '\n\tFROM')\ |
|
28 | .replace('FROM', '\n\tFROM')\ | |
27 | .replace('ORDER BY', '\n\tORDER BY')\ |
|
29 | .replace('ORDER BY', '\n\tORDER BY')\ | |
28 | .replace('LIMIT', '\n\tLIMIT')\ |
|
30 | .replace('LIMIT', '\n\tLIMIT')\ |
General Comments 0
You need to be logged in to leave comments.
Login now