| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
CompositeTest
Documentation
data TestParent Source #
Constructors
| TestParent | |
Fields
| |
Instances
type TestParentId = Key TestParent Source #
Constructors
| TestChild | |
Fields
| |
Instances
type TestChildId = Key TestChild Source #
Constructors
| Citizen | |
Fields
| |
Instances
Constructors
| Address | |
Fields
| |
Instances
data CitizenAddress Source #
Constructors
| CitizenAddress | |
Fields
| |
Instances
type CitizenAddressId = Key CitizenAddress Source #
data PrimaryCompositeWithOtherNullableFields Source #
Constructors
| PrimaryCompositeWithOtherNullableFields | |
Instances
type PrimaryCompositeWithOtherNullableFieldsId = Key PrimaryCompositeWithOtherNullableFields Source #
cleanDB :: (PersistQuery backend, PersistEntityBackend TestChild ~ backend, MonadIO m) => ReaderT backend m () 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 #