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
Vecof types commonly used to representWITHoptions into useful data types, such as strings. Additionally, it is able to convert the useful data types back to theVecof options.
Enums§
Functions§
- ast_
version - Converts a
RelationVersioninto a version for the AST. - column_
name - Normalizes an identifier that represents a column name.
- column_
name_ ident - Converts a column name into an identifier.
- create_
statement - Normalizes a
CREATEstatement. - full_
name - Converts an
UnresolvedItemNameto aFullItemNameif theUnresolvedItemNameis fully specified. Otherwise returns an error. - ident
- Normalizes a single identifier.
- ident_
ref - Normalizes a single identifier.
- op
- Normalizes an operator reference.
- relation_
version - Converts a version from the AST into a
RelationVersion. - unresolve
- Unnormalizes an item name.
- unresolved_
item_ name - Normalizes an unresolved object name.
- unresolved_
schema_ name - Normalizes an unresolved schema name.