Safe Haskell | None |
---|---|
Language | Haskell2010 |
Database.PostgreSQL.PQTypes.FromSQL
Documentation
class (PQFormat t, Storable (PQBase t)) => FromSQL t where #
Class which represents "from SQL (libpqtypes) type to Haskell type" transformation.
Minimal complete definition
Instances
FromSQL Bool # | |
FromSQL Char # | |
FromSQL Double # | |
FromSQL Float # | |
FromSQL Int16 # | |
FromSQL Int32 # | |
FromSQL Int64 # | |
FromSQL Word8 # | |
FromSQL ByteString # | |
FromSQL ByteString # | |
FromSQL String # | Assumes that source C string is UTF-8, so if you are working with a different encoding, you should not rely on this instance. |
FromSQL Text # | Assumes that source C string is UTF-8, so if you are working with a different encoding, you should not rely on this instance. |
FromSQL UTCTime # |
|
FromSQL Text # | Assumes that source C string is UTF-8, so if you are working with a different encoding, you should not rely on this instance |
FromSQL LocalTime # | |
FromSQL TimeOfDay # | |
FromSQL Day # | |
FromSQL Interval # | |
FromSQL XML # | |
FromSQL t => FromSQL (Maybe t) # | |
FromSQL (JSONB ByteString) # | |
FromSQL (JSONB ByteString) # | |
FromSQL (JSONB Value) # | |
FromSQL (JSON ByteString) # | |
FromSQL (JSON ByteString) # | |
FromSQL (JSON Value) # | |
CompositeFromSQL t => FromSQL (Composite t) # | |
CompositeFromSQL t => FromSQL (CompositeArray2 t) # | |
FromSQL t => FromSQL (Array2 t) # | |
CompositeFromSQL t => FromSQL (CompositeArray1 t) # | |
FromSQL t => FromSQL (Array1 t) # | |