Formatting Options
Indentation:
What this formatter does — and does not do
- It recognises common clauses (SELECT, FROM, WHERE, JOIN, GROUP BY, ORDER BY, HAVING, LIMIT, VALUES, SET, UNION, and more) and places them on their own lines with configurable indentation.
- Quoted strings, quoted identifiers, and SQL comments are protected before any rewriting, so they keep their exact contents.
- It is a pattern-based formatter rather than a full SQL parser, so exotic or dialect-specific syntax is reformatted conservatively and may need manual cleanup.