Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
data InterpolationErrorDetails #
Instances
Eq InterpolationErrorDetails # | |
Defined in Napkin.Parse.Interpolation.Types | |
Show InterpolationErrorDetails # | |
Defined in Napkin.Parse.Interpolation.Types showsPrec :: Int -> InterpolationErrorDetails -> ShowS # show :: InterpolationErrorDetails -> String # showList :: [InterpolationErrorDetails] -> ShowS # |
data InterpolationMode #
Instances
Eq InterpolationMode # | |
Defined in Napkin.Parse.Interpolation.Types (==) :: InterpolationMode -> InterpolationMode -> Bool # (/=) :: InterpolationMode -> InterpolationMode -> Bool # | |
Show InterpolationMode # | |
Defined in Napkin.Parse.Interpolation.Types showsPrec :: Int -> InterpolationMode -> ShowS # show :: InterpolationMode -> String # showList :: [InterpolationMode] -> ShowS # |
data InterpolationError #
TemplateCompilationError InterpolationErrorDetails | |
TemplateEvaluationError InterpolationErrorDetails | |
TemplateSubstitutionError InterpolationErrorDetails | |
TemplateEngineError InterpolationErrorDetails |
Instances
Eq InterpolationError # | |
Defined in Napkin.Parse.Interpolation.Types (==) :: InterpolationError -> InterpolationError -> Bool # (/=) :: InterpolationError -> InterpolationError -> Bool # | |
Show InterpolationError # | |
Defined in Napkin.Parse.Interpolation.Types 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 #
Instances
sqlTemplate :: [(Text, Value)] -> SqlTemplateVariables #