| Copyright | (c) Soostone Inc 2020 |
|---|---|
| License | AllRightsReserved |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Napkin.Parse.Interpolation.Types
Description
Documentation
data InterpolationErrorDetails #
Constructors
| InterpolationErrorDetails | |
Fields
| |
Instances
| Eq InterpolationErrorDetails # | |
Defined in Napkin.Parse.Interpolation.Types Methods (==) :: InterpolationErrorDetails -> InterpolationErrorDetails -> Bool # (/=) :: InterpolationErrorDetails -> InterpolationErrorDetails -> Bool # | |
| Show InterpolationErrorDetails # | |
Defined in Napkin.Parse.Interpolation.Types Methods showsPrec :: Int -> InterpolationErrorDetails -> ShowS # show :: InterpolationErrorDetails -> String # showList :: [InterpolationErrorDetails] -> ShowS # | |
data InterpolationError #
Constructors
| TemplateCompilationError InterpolationErrorDetails | |
| TemplateEvaluationError InterpolationErrorDetails | |
| TemplateSubstitutionError InterpolationErrorDetails | |
| TemplateEngineError InterpolationErrorDetails |
Instances
| Eq InterpolationError # | |
Defined in Napkin.Parse.Interpolation.Types Methods (==) :: InterpolationError -> InterpolationError -> Bool # (/=) :: InterpolationError -> InterpolationError -> Bool # | |
| Show InterpolationError # | |
Defined in Napkin.Parse.Interpolation.Types Methods showsPrec :: Int -> InterpolationError -> ShowS # show :: InterpolationError -> String # showList :: [InterpolationError] -> ShowS # | |
type MustacheBackend b = (RenderSql SExp b, RenderSql Query b, RenderSql From b, RenderSql String b, RenderSql Relation b, RenderSql (Ref SExp) b, RenderSql (Ref Relation) b, RenderSql (Alias Relation) b, RenderSql (Alias SExp) b, ToDbBackend b) #
newtype SqlTemplateVariables #
Constructors
| SqlTemplateVariables | |
Fields | |
Instances
sqlTemplate :: [(Text, Value)] -> SqlTemplateVariables #