Hasql.Interpolate.Internal.Sql
data Sql Source #
A SQL string with interpolated expressions.
Constructors
Fields
The sql string. It is stateful over an Int in order to assign the postgresql parameter placeholders (e.g. $1, $2)
Int
$1
$2
The encoders associated with the sql string. Already applied to their parameters.
Defined in Hasql.Interpolate.Internal.Sql
Methods
fromString :: String -> Sql #
(<>) :: Sql -> Sql -> Sql #
sconcat :: NonEmpty Sql -> Sql #
stimes :: Integral b => b -> Sql -> Sql #
mempty :: Sql #
mappend :: Sql -> Sql -> Sql #
mconcat :: [Sql] -> Sql #