Module normalize

Source
Expand description

SQL normalization routines.

Normalization is the process of taking relatively unstructured types from the ast module and converting them to more structured types.

Macros§

generate_extracted_config 🔒
Generates a struct capable of taking a Vec of types commonly used to represent WITH options into useful data types, such as strings. Additionally, it is able to convert the useful data types back to the Vec of options.

Enums§

SqlValueOrSecret

Functions§

column_name
Normalizes an identifier that represents a column name.
create_statement
Normalizes a CREATE statement.
full_name
Converts an UnresolvedItemName to a FullItemName if the UnresolvedItemName is fully specified. Otherwise returns an error.
ident
Normalizes a single identifier.
ident_ref
Normalizes a single identifier.
op
Normalizes an operator reference.
unresolve
Unnormalizes an item name.
unresolved_item_name
Normalizes an unresolved object name.
unresolved_schema_name
Normalizes an unresolved schema name.