Safe Haskell | None |
---|---|
Language | Haskell98 |
Database.PostgreSQL.PQTypes.ToSQL
Documentation
class PQFormat t => ToSQL t where Source
Class which represents "from Haskell type to SQL (libpqtypes) type" transformation.
Methods
Arguments
:: 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
.
Instances