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 representWITH
options into useful data types, such as strings. Additionally, it is able to convert the useful data types back to theVec
of options.
Enums§
Functions§
- column_
name - Normalizes an identifier that represents a column name.
- create_
statement - Normalizes a
CREATE
statement. - full_
name - Converts an
UnresolvedItemName
to aFullItemName
if theUnresolvedItemName
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.