sqlfluff
Lint and auto-format SQL files across multiple dialects. More information: https://docs.sqlfluff.com/en/stable/reference/cli.html.
- Lint an SQL file or directory with a specific dialect:
sqlfluff lint
- Auto-format an SQL file or directory with a specific dialect:
sqlfluff format
- Automatically fix linting violations in an SQL file or directory:
sqlfluff fix
- Parse an SQL file or directory and display the parse tree:
sqlfluff parse
- Show all supported SQL dialects:
sqlfluff dialects
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
