Crate mz_sql_pretty

Source

Modules§

doc 🔒
Functions that convert SQL AST nodes to pretty Docs.
util 🔒
Utility functions used by the doc functions.

Structs§

Pretty
(Public only for tests)
PrettyConfig

Enums§

Error

Constants§

DEFAULT_WIDTH
TAB 🔒

Functions§

pretty_str
Parses str into a single SQL statement and pretty prints it.
pretty_str_simple
Parses str into a single SQL statement and pretty prints it in Simple mode.
pretty_strs
Parses str into SQL statements and pretty prints them.
pretty_strs_simple
Parses str into SQL statements and pretty prints them in Simple mode.
to_pretty
Pretty prints a statement at a width.