Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Newtype for DecodeValue
/
EncodeValue
instances that converts
between a postgres json type and an Aeson Value
Instances
DecodeValue Json Source # | Parse a postgres |
Defined in Hasql.Interpolate.Internal.Json decodeValue :: Value Json Source # | |
EncodeValue Json Source # | |
Defined in Hasql.Interpolate.Internal.Json encodeValue :: Value Json Source # |
Newtype for DecodeValue
/
EncodeValue
instances that converts
between a postgres json type and an Aeson Value
Instances
DecodeValue Jsonb Source # | Parse a postgres |
Defined in Hasql.Interpolate.Internal.Json decodeValue :: Value Jsonb Source # | |
EncodeValue Jsonb Source # | Encode an Aeson |
Defined in Hasql.Interpolate.Internal.Json encodeValue :: Value Jsonb Source # |
Newtype for DecodeValue
/
EncodeValue
instances that converts
between a postgres json type and anything that is an instance of
FromJSON
/ ToJSON
AsJson a |
Instances
FromJSON a => DecodeValue (AsJson a) Source # | Parse a postgres |
Defined in Hasql.Interpolate.Internal.Json decodeValue :: Value (AsJson a) Source # | |
ToJSON a => EncodeValue (AsJson a) Source # | Encode anything that is an instance of |
Defined in Hasql.Interpolate.Internal.Json encodeValue :: Value (AsJson a) Source # |
Newtype for DecodeValue
/
EncodeValue
instances that converts
between a postgres jsonb type and anything that is an instance of
FromJSON
/ ToJSON
AsJsonb a |
Instances
FromJSON a => DecodeValue (AsJsonb a) Source # | Parse a postgres |
Defined in Hasql.Interpolate.Internal.Json decodeValue :: Value (AsJsonb a) Source # | |
ToJSON a => EncodeValue (AsJsonb a) Source # | Encode anything that is an instance of |
Defined in Hasql.Interpolate.Internal.Json encodeValue :: Value (AsJsonb a) Source # |