Copyright | 2013 Kei Hibino |
---|---|
License | BSD3 |
Maintainer | ex8k.hibino@gmail.com |
Stability | experimental |
Portability | unknown |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module defines phantom typed SQL expression object. Contains internal structure and unsafe interfaces.
Typed SQL Expression
Phantom typed SQL expression object. Project from projection type p
.
Expr StringSQL |
ProjectableMaybe (Expr p) | |
ProjectableShowSql (Expr p) | Unsafely get SQL term from |
SqlProjectable (Expr p) | Unsafely make |
Show (Expr p a) | Show expression. |
unsafeStringSql :: Expr p t -> StringSQL Source
Get SQL expression from typed object.