Module

Data.Postgres.Interval

Package
purescript-postgresql
Repository
cakekindel/purescript-postgresql

#IntervalRecord Source

type IntervalRecord = { days :: Int, hours :: Int, milliseconds :: Number, minutes :: Int, months :: Int, seconds :: Int, years :: Int }

#Interval Source

#getMonths Source

#getMinutes Source

#getSeconds Source

#getMilliseconds Source

#toDuration Source

toDuration :: forall d. Semigroup d => Duration d => Interval -> Maybe d

#fromDuration Source

fromDuration :: forall d. Duration d => d -> Interval