SQL readability for reviews and RCA
ORM debug logs arrive as one-line strings missing JOIN precedence cues. Reformatting before paste into a ticket prevents reviewers from misreading AND/OR binding and approving a risky migration.
Keyword casing
Consistent uppercase keywords (SELECT, WHERE, GROUP BY) scan faster in diffs. Teams can align style guides without arguing over manual line breaks during on-call handoffs.
Not a SQL linter
Invalid syntax may still format imperfectly. Pair this with database EXPLAIN and integration tests—layout alone does not catch missing indexes or implicit cartesian products.