| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
CompositeTest
Documentation
data TestParent Source #
Constructors
| TestParent | |
Fields
| |
Instances
| Eq TestParent Source # | |
| Show TestParent Source # | |
| PersistFieldSql TestParent Source # | |
| PersistEntity TestParent Source # | |
| PersistField TestParent Source # | |
| (PersistQuery backend, (~) * (PersistEntityBackend TestParent) (BaseBackend backend)) => DeleteCascade TestParent backend Source # | |
| Eq (Key TestParent) Source # | |
| Ord (Key TestParent) Source # | |
| Read (Key TestParent) Source # | |
| Show (Key TestParent) Source # | |
| Generic (Key TestParent) Source # | |
| ToJSON (Key TestParent) Source # | |
| FromJSON (Key TestParent) Source # | |
| PersistFieldSql (Key TestParent) Source # | |
| PersistField (Key TestParent) Source # | |
| data Unique TestParent Source # | |
| data EntityField TestParent Source # | |
| data Key TestParent Source # | |
| type PersistEntityBackend TestParent Source # | |
| type Rep (Key TestParent) Source # | |
type TestParentId = Key TestParent Source #
Constructors
| TestChild | |
Fields
| |
Instances
| Eq TestChild Source # | |
| Show TestChild Source # | |
| PersistFieldSql TestChild Source # | |
| PersistEntity TestChild Source # | |
| PersistField TestChild Source # | |
| (PersistQuery backend, (~) * (PersistEntityBackend TestChild) (BaseBackend backend)) => DeleteCascade TestChild backend Source # | |
| ToBackendKey SqlBackend TestChild Source # | |
| Eq (Key TestChild) Source # | |
| Ord (Key TestChild) Source # | |
| Read (Key TestChild) Source # | |
| Show (Key TestChild) Source # | |
| ToJSON (Key TestChild) Source # | |
| FromJSON (Key TestChild) Source # | |
| ToHttpApiData (Key TestChild) Source # | |
| FromHttpApiData (Key TestChild) Source # | |
| PathPiece (Key TestChild) Source # | |
| PersistFieldSql (Key TestChild) Source # | |
| PersistField (Key TestChild) Source # | |
| data Unique TestChild Source # | |
| data EntityField TestChild Source # | |
| data Key TestChild Source # | |
| type PersistEntityBackend TestChild Source # | |
type TestChildId = Key TestChild Source #
Instances
| PersistFieldSql Tree Source # | |
| PersistEntity Tree Source # | |
| PersistField Tree Source # | |
| (PersistQuery backend, (~) * (PersistEntityBackend Tree) (BaseBackend backend)) => DeleteCascade Tree backend Source # | |
| Eq (Key Tree) Source # | |
| Ord (Key Tree) Source # | |
| Read (Key Tree) Source # | |
| Show (Key Tree) Source # | |
| ToJSON (Key Tree) Source # | |
| FromJSON (Key Tree) Source # | |
| ToHttpApiData (Key Tree) Source # | |
| FromHttpApiData (Key Tree) Source # | |
| PathPiece (Key Tree) Source # | |
| PersistFieldSql (Key Tree) Source # | |
| PersistField (Key Tree) Source # | |
| data Unique Tree Source # | |
| data EntityField Tree Source # | |
| data Key Tree Source # | |
| type PersistEntityBackend Tree Source # | |
Constructors
| Citizen | |
Fields
| |
Instances
| Eq Citizen Source # | |
| Show Citizen Source # | |
| PersistFieldSql Citizen Source # | |
| PersistEntity Citizen Source # | |
| PersistField Citizen Source # | |
| (PersistQuery backend, (~) * (PersistEntityBackend Citizen) (BaseBackend backend)) => DeleteCascade Citizen backend Source # | |
| ToBackendKey SqlBackend Citizen Source # | |
| Eq (Key Citizen) Source # | |
| Ord (Key Citizen) Source # | |
| Read (Key Citizen) Source # | |
| Show (Key Citizen) Source # | |
| ToJSON (Key Citizen) Source # | |
| FromJSON (Key Citizen) Source # | |
| ToHttpApiData (Key Citizen) Source # | |
| FromHttpApiData (Key Citizen) Source # | |
| PathPiece (Key Citizen) Source # | |
| PersistFieldSql (Key Citizen) Source # | |
| PersistField (Key Citizen) Source # | |
| data Unique Citizen Source # | |
| data EntityField Citizen Source # | |
| data Key Citizen Source # | |
| type PersistEntityBackend Citizen Source # | |
Constructors
| Address | |
Fields
| |
Instances
| Eq Address Source # | |
| Show Address Source # | |
| PersistFieldSql Address Source # | |
| PersistEntity Address Source # | |
| PersistField Address Source # | |
| (PersistQuery backend, (~) * (PersistEntityBackend Address) (BaseBackend backend)) => DeleteCascade Address backend Source # | |
| ToBackendKey SqlBackend Address Source # | |
| Eq (Key Address) Source # | |
| Ord (Key Address) Source # | |
| Read (Key Address) Source # | |
| Show (Key Address) Source # | |
| ToJSON (Key Address) Source # | |
| FromJSON (Key Address) Source # | |
| ToHttpApiData (Key Address) Source # | |
| FromHttpApiData (Key Address) Source # | |
| PathPiece (Key Address) Source # | |
| PersistFieldSql (Key Address) Source # | |
| PersistField (Key Address) Source # | |
| data Unique Address Source # | |
| data EntityField Address Source # | |
| data Key Address Source # | |
| type PersistEntityBackend Address Source # | |
data CitizenAddress Source #
Constructors
| CitizenAddress | |
Fields
| |
Instances
| Eq CitizenAddress Source # | |
| Show CitizenAddress Source # | |
| PersistFieldSql CitizenAddress Source # | |
| PersistEntity CitizenAddress Source # | |
| PersistField CitizenAddress Source # | |
| (PersistQuery backend, (~) * (PersistEntityBackend CitizenAddress) (BaseBackend backend)) => DeleteCascade CitizenAddress backend Source # | |
| Eq (Key CitizenAddress) Source # | |
| Ord (Key CitizenAddress) Source # | |
| Read (Key CitizenAddress) Source # | |
| Show (Key CitizenAddress) Source # | |
| Generic (Key CitizenAddress) Source # | |
| ToJSON (Key CitizenAddress) Source # | |
| FromJSON (Key CitizenAddress) Source # | |
| PersistFieldSql (Key CitizenAddress) Source # | |
| PersistField (Key CitizenAddress) Source # | |
| data Unique CitizenAddress Source # | |
| data EntityField CitizenAddress Source # | |
| data Key CitizenAddress Source # | |
| type PersistEntityBackend CitizenAddress Source # | |
| type Rep (Key CitizenAddress) Source # | |
type CitizenAddressId = Key CitizenAddress Source #
data PrimaryCompositeWithOtherNullableFields Source #
Constructors
| PrimaryCompositeWithOtherNullableFields | |
Instances
type PrimaryCompositeWithOtherNullableFieldsId = Key PrimaryCompositeWithOtherNullableFields Source #
matchK :: (PersistField a, PersistEntity record) => Key record -> Either Text a Source #
matchK2 :: (PersistField a1, PersistField a, PersistEntity record, PersistEntity record2) => Key record -> Key record2 -> Either Text (a1, a) Source #
matchParentK :: Key TestParent -> Either Text (String, String, Int64) Source #
matchCitizenAddressK :: Key CitizenAddress -> Either Text (Int64, Int64) Source #