| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hasql.Mapping.IsScalar
Documentation
Mapping to a scalar value. Anything but array.
The current Hasql API doesn't provide a typesafe boundary to enforce the value being scalar, so consider this to be a part of the contract to not define instances for array mappings using this class.
Instances
| IsScalar Value # | Maps to PostgreSQL |
| IsScalar ByteString # | Maps to PostgreSQL |
Defined in Hasql.Mapping.IsScalar | |
| IsScalar Int16 # | Maps to PostgreSQL |
| IsScalar Int32 # | Maps to PostgreSQL |
| IsScalar Int64 # | Maps to PostgreSQL |
| IsScalar IPRange # | Maps to PostgreSQL |
| IsScalar Scientific # | Maps to PostgreSQL |
Defined in Hasql.Mapping.IsScalar | |
| IsScalar Text # | Maps to PostgreSQL |
| IsScalar Day # | Maps to PostgreSQL |
| IsScalar DiffTime # | Maps to PostgreSQL |
| IsScalar UTCTime # | Maps to PostgreSQL |
| IsScalar LocalTime # | Maps to PostgreSQL |
| IsScalar TimeOfDay # | Maps to PostgreSQL |
| IsScalar UUID # | Maps to PostgreSQL |
| IsScalar Bool # | Maps to PostgreSQL |
| IsScalar Double # | Maps to PostgreSQL |
| IsScalar Float # | Maps to PostgreSQL |
| IsScalar Int # | Maps to PostgreSQL |
| IsScalar (TimeOfDay, TimeZone) # | Maps to PostgreSQL |
| IsScalar (Word8, Word8, Word8, Word8, Word8, Word8) # | Maps to PostgreSQL |