| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.PostgreSQL.PQTypes.Interval
Synopsis
- data Interval = Interval {
- intYears :: !Int32
- intMonths :: !Int32
- intDays :: !Int32
- intHours :: !Int32
- intMinutes :: !Int32
- intSeconds :: !Int32
- intMicroseconds :: !Int32
- iyears :: Int32 -> Interval
- imonths :: Int32 -> Interval
- idays :: Int32 -> Interval
- ihours :: Int32 -> Interval
- iminutes :: Int32 -> Interval
- iseconds :: Int32 -> Interval
- imicroseconds :: Int32 -> Interval
Documentation
Representation of INTERVAL PostgreSQL type.
Constructors
| Interval | |
Fields
| |
Instances
| Eq Interval Source # | |
| Ord Interval Source # | |
Defined in Database.PostgreSQL.PQTypes.Interval | |
| Show Interval Source # | |
| Semigroup Interval Source # | |
| Monoid Interval Source # | |
| Storable Interval Source # | |
Defined in Database.PostgreSQL.PQTypes.Interval | |
| PQFormat Interval Source # | |
Defined in Database.PostgreSQL.PQTypes.Interval | |
| FromSQL Interval Source # | |
| ToSQL Interval Source # | |
| type PQBase Interval Source # | |
Defined in Database.PostgreSQL.PQTypes.Interval | |
| type PQDest Interval Source # | |
Defined in Database.PostgreSQL.PQTypes.Interval | |