| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.HsSqlPpp.Types
Contents
Description
Contains the SQL data types, type errors, and a few supporting functions.
- data Type
- data PseudoType
- typeSmallInt :: Type
- typeBigInt :: Type
- typeInt :: Type
- typeNumeric :: Type
- typeFloat4 :: Type
- typeFloat8 :: Type
- typeVarChar :: Type
- typeChar :: Type
- typeBool :: Type
- typeDate :: Type
- typeInterval :: Type
- canonicalizeTypeName :: String -> String
- canonicalizeTypes :: Data a => a -> a
- data TypeError
- = WrongTypes Type [Type]
- | UnknownTypeError Type
- | UnknownTypeName String
- | NoMatchingOperator String [Type]
- | TypelessEmptyArray
- | IncompatibleTypeSet [Type]
- | IncompatibleTypes Type Type
- | ValuesListsMustBeSameLength
- | NoRowsGivenForValues
- | UnrecognisedIdentifier String
- | UnrecognisedRelation String
- | UnrecognisedCorrelationName String
- | BadStarExpand
- | AmbiguousIdentifier String
- | ContextError String
- | MissingJoinAttribute
- | ExpressionMustBeBool
- | WrongNumberOfColumns
- | ExpectedDomainType Type
- | DomainDefNotFound Type
- | BadCatalogUpdate String
- | TypeAlreadyExists Type
- | AnyAllError String
- | InternalError String
- | FromToTypesNotSame Type Type
- | WrongNumberOfAliasCols Int Int
- | MiscError String
SQL types
data PseudoType Source
Constructors
| Any | |
| AnyArray | |
| AnyElement | |
| AnyEnum | |
| AnyNonArray | |
| Cstring | |
| Record | |
| TriggerRecord | |
| Trigger | |
| Void | |
| Internal | |
| LanguageHandler | |
| Opaque | |
| FdwHandler |
Instances
type aliases
aliases for all the sql types with multiple names these give you the canonical names
typeBigInt :: Type Source
typeFloat4 :: Type Source
typeFloat8 :: Type Source
canonicalizeTypes :: Data a => a -> a Source
Type errors
Constructors