MetaHDBC-0.1.0: Statically checked database accessContentsIndex
Database.MetaHDBC.SqlTypeIdExpQ
Synopsis
fromSqlTypeId :: SqlTypeId -> ExpQ
toSqlTypeId :: SqlTypeId -> ExpQ
fromSqlColDesc :: SqlColDesc -> ExpQ
toSqlColDesc :: SqlColDesc -> ExpQ
Documentation
fromSqlTypeId :: SqlTypeId -> ExpQ
Given a SqlTypeId it returns a function f which transforms a SqlValue into another type. The return type of f is dependent upon the value of SqlTypeId. The function f is encapsulated in an ExpQ. Also see toSqlTypeId.
toSqlTypeId :: SqlTypeId -> ExpQ
The opposite of fromSqlTypeId in that it returns a function from a type to SqlValue. Similarly the function is returned in a ExpQ. See fromSqlTypeId.
fromSqlColDesc :: SqlColDesc -> ExpQ
Like fromSqlTypeId but also considers if the SqlValue is nullable.
toSqlColDesc :: SqlColDesc -> ExpQ
Like toSqlTypeId but also considers if the SqlValue is nullable.
Produced by Haddock version 2.1.0