Module sql::normalize[][src]

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

This macro accepts a struct definition and will generate it and a try_from method that takes a Vec<WithOption> which will extract and type check options based on the struct field names and types.

Functions

Normalizes option values that contain AWS connection parameters.

Normalizes an identifier that represents a column name.

Normalizes a CREATE statement.

Ensures that the given set of options are empty, useful for validating that WITH options are all real, used options

Normalizes a single identifier.

Normalizes WITH option keys without normalizing their corresponding values.

Normalizes a list of WITH options.

Unnormalizes an object name.

Normalizes an unresolved object name.