Selecto.SQL.Formatter
(Selecto v0.4.5)
Copy Markdown
Lightweight SQL formatting and highlighting helpers.
This module is intentionally conservative: it improves readability for generated Selecto SQL without attempting to be a full SQL parser.
Summary
Functions
Format SQL for readability.
Options:
:indentstring used for indentation (default: two spaces):where_multilineboolean to splitAND/ORconditions across lines (default: true)
Apply lightweight SQL highlighting.
Supported styles:
:ansi- terminal ANSI colors:markdown- markdown emphasis for keywords