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