This is the public module for the type checking functionality.
>
> module Database.HsSqlPpp.TypeCheck
> (
>
> typeCheckStatements
> ,typeCheckQueryExpr
> ,typeCheckScalarExpr
> ,TypeCheckFlags(..)
> ,Dialect(..)
> ,ansiDialect
> ,defaultTypeCheckFlags
> ,emptyEnvironment
> ) where
>
> import Database.HsSqlPpp.Internals.AstInternal
> import Database.HsSqlPpp.Internals.Dialect
> import Database.HsSqlPpp.Dialects.Ansi
> import Database.HsSqlPpp.Internals.TypeChecking.Environment (emptyEnvironment)
>
>
>
>
> defaultTypeCheckFlags :: TypeCheckFlags
> defaultTypeCheckFlags =
> TypeCheckFlags
> {tcfAddQualifiers = False
> ,tcfAddFullTablerefAliases = False
> ,tcfAddSelectItemAliases = False
> ,tcfExpandStars = False
> ,tcfDialect = ansiDialect}