| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Opaleye.SqlTypes
Documentation
type SqlTimestamptz = PGTimestamptz #
type SqlTimestamp = PGTimestamp #
type SqlNumeric = PGNumeric #
sqlStrictText :: Text -> Field SqlText #
sqlLazyText :: Text -> Field SqlText #
sqlNumeric :: Scientific -> Field SqlNumeric #
sqlUTCTime :: UTCTime -> Field SqlTimestamptz #
sqlLocalTime :: LocalTime -> Field SqlTimestamp #
sqlTimeOfDay :: TimeOfDay -> Field SqlTime #
sqlStrictJSON :: ByteString -> Field SqlJson #
sqlLazyJSON :: ByteString -> Field SqlJson #
sqlValueJSON :: ToJSON a => a -> Field SqlJson #
sqlStrictJSONB :: ByteString -> Field SqlJsonb #
sqlLazyJSONB :: ByteString -> Field SqlJsonb #
sqlValueJSONB :: ToJSON a => a -> Field SqlJsonb #
sqlRange :: IsRangeType b => (a -> Field b) -> RangeBound a -> RangeBound a -> Field (SqlRange b) #
Instances
class IsSqlType pgType => IsRangeType pgType #
Minimal complete definition
Instances
| IsRangeType PGTimestamptz # | |
Defined in Opaleye.PGTypes Methods showRangeType :: proxy PGTimestamptz -> String # | |
| IsRangeType PGTimestamp # | |
Defined in Opaleye.PGTypes Methods showRangeType :: proxy PGTimestamp -> String # | |
| IsRangeType PGNumeric # | |
Defined in Opaleye.PGTypes Methods showRangeType :: proxy PGNumeric -> String # | |
| IsRangeType PGInt4 # | |
Defined in Opaleye.PGTypes Methods showRangeType :: proxy PGInt4 -> String # | |
| IsRangeType PGInt8 # | |
Defined in Opaleye.PGTypes Methods showRangeType :: proxy PGInt8 -> String # | |
| IsRangeType PGDate # | |
Defined in Opaleye.PGTypes Methods showRangeType :: proxy PGDate -> String # | |