| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
IHP.PGSimpleCompat
Contents
Description
Consolidates all postgresql-simple FromField/ToField/FromRow orphan instances for IHP model types.
Note: JobStatus FromField/ToField instances remain in IHP.Job.Queue to
avoid a circular dependency through IHP.Job.Types -> IHP.Prelude -> IHP.ModelSupport.
Orphan instances
| FromField (PrimaryKey model) => FromField (Id' model) Source # | |
Methods fromField :: FieldParser (Id' model) Source # | |
| (FromField value, Typeable value) => FromField [value] Source # | |
Methods fromField :: FieldParser [value] Source # | |
| ToField valueType => ToField (FieldWithDefault valueType) Source # | |
Methods toField :: FieldWithDefault valueType -> Action Source # | |
| ToField (PrimaryKey model) => ToField (Id' model) Source # | |
| ToField value => ToField [value] Source # | |
| (FromField label, FromRow a) => FromRow (LabeledData label a) Source # | |
Methods fromRow :: RowParser (LabeledData label a) Source # | |
| (ToField (Id' a), ToField (Id' b)) => ToField (Id' a, Id' b) Source # | |
| (KnownSymbol name, ToField value) => ToField (FieldWithUpdate name value) Source # | |
Methods toField :: FieldWithUpdate name value -> Action Source # | |