| Safe Haskell | None |
|---|
Database.Persist.Util
- nullable :: [Text] -> IsNullable
- data IsNullable
- data WhyNullable
- deprecate :: String -> a -> a
Documentation
nullable :: [Text] -> IsNullableSource
data WhyNullable Source
The reason why a field is nullable is very important. A
field that is nullable because of a Maybe tag will have its
type changed from A to Maybe A. OTOH, a field that is
nullable because of a nullable tag will remain with the same
type.
Constructors
| ByMaybeAttr | |
| ByNullableAttr |
Instances