| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Arbiter.Hasql.Encode
Description
Backend-neutral parameters as Hasql encoders.
Synopsis
- buildEncoder :: Params -> Params ()
- buildStatementRowCount :: Text -> Params -> Statement () Int64
- encodeSomeParam :: SomeParam -> Params ()
- colEncoder :: Col a -> Value a
Documentation
Source #buildEncoder :: Params -> Params ()
A parameter list as one positional encoder.
Source #buildStatementRowCount :: Text -> Params -> Statement () Int64
Unprepared statement over numbered placeholders, returning rows affected.
Source #encodeSomeParam :: SomeParam -> Params ()
Encode one parameter at its declared nullability.
Source #colEncoder :: Col a -> Value a
Encoder for a column type.