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