Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data TestParent Source #
TestParent | |
|
Instances
type TestParentId = Key TestParent Source #
TestChild | |
|
Instances
type TestChildId = Key TestChild Source #
Citizen | |
|
Instances
Address | |
|
Instances
data CitizenAddress Source #
Instances
type CitizenAddressId = Key CitizenAddress Source #
data PrimaryCompositeWithOtherNullableFields Source #
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 #