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.
toSQL :: t -> ParamAllocator -> (Ptr (PQDest t) -> IO r) -> IO r Source #
Put supplied value into inner PGparam
.