Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype ParamAllocator Source #
ParamAllocator (forall r. (Ptr PGparam -> IO r) -> IO r) |
class PQFormat t => ToSQL t where Source #
Class which represents "from Haskell type to SQL (libpqtypes) type" transformation.
:: t | Value to be put. |
-> ParamAllocator |
|
-> (Ptr (PQDest t) -> IO r) | Continuation that puts
converted value into inner |
-> IO r |
Put supplied value into inner PGparam
.