Safe Haskell | None |
---|---|
Language | GHC2021 |
Documentation
data InterpolationErrorDetails #
Instances
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
Generic InterpolationError # | |||||
Defined in Napkin.Parse.Interpolation.Types
from :: InterpolationError -> Rep InterpolationError x # to :: Rep InterpolationError x -> InterpolationError # | |||||
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 Rep InterpolationError # | |||||
Defined in Napkin.Parse.Interpolation.Types type Rep InterpolationError = D1 ('MetaData "InterpolationError" "Napkin.Parse.Interpolation.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) ((C1 ('MetaCons "TemplateCompilationError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InterpolationErrorDetails)) :+: C1 ('MetaCons "TemplateEvaluationError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InterpolationErrorDetails))) :+: (C1 ('MetaCons "TemplateSubstitutionError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InterpolationErrorDetails)) :+: C1 ('MetaCons "TemplateEngineError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InterpolationErrorDetails)))) |
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
FromJSON SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types | |
ToJSON SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types toJSON :: SqlTemplateVariables -> Value # toEncoding :: SqlTemplateVariables -> Encoding # toJSONList :: [SqlTemplateVariables] -> Value # toEncodingList :: [SqlTemplateVariables] -> Encoding # omitField :: SqlTemplateVariables -> Bool # | |
Monoid SqlTemplateVariables # | |
Semigroup SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types | |
Show SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types showsPrec :: Int -> SqlTemplateVariables -> ShowS # show :: SqlTemplateVariables -> String # showList :: [SqlTemplateVariables] -> ShowS # | |
Default SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types | |
Eq SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types (==) :: SqlTemplateVariables -> SqlTemplateVariables -> Bool # (/=) :: SqlTemplateVariables -> SqlTemplateVariables -> Bool # | |
Ord SqlTemplateVariables # | |
Defined in Napkin.Parse.Interpolation.Types compare :: SqlTemplateVariables -> SqlTemplateVariables -> Ordering # (<) :: SqlTemplateVariables -> SqlTemplateVariables -> Bool # (<=) :: SqlTemplateVariables -> SqlTemplateVariables -> Bool # (>) :: SqlTemplateVariables -> SqlTemplateVariables -> Bool # (>=) :: SqlTemplateVariables -> SqlTemplateVariables -> Bool # max :: SqlTemplateVariables -> SqlTemplateVariables -> SqlTemplateVariables # min :: SqlTemplateVariables -> SqlTemplateVariables -> SqlTemplateVariables # |
sqlTemplate :: [(Text, Value)] -> SqlTemplateVariables #