Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
esqueleto Database.Esqueleto.Legacy This datatype describes how a foreign reference field cascades deletes or updates. This type is used in both parsing the model definitions and performing migrations. A Nothing in either of the field values means that the user has not specified a CascadeAction. An unspecified CascadeAction is defaulted to Restrict when doing migrations.
FieldCascade :: !Maybe CascadeAction -> !Maybe CascadeAction -> FieldCascadeesqueleto Database.Esqueleto.Legacy No documentation available.
crFieldCascade :: ColumnReference -> !FieldCascadeesqueleto Database.Esqueleto.Legacy Whether or not updates/deletions to the referenced table cascade to this table.
fieldCascade :: FieldDef -> !FieldCascadeesqueleto Database.Esqueleto.Legacy Defines how operations on the field cascade on to the referenced tables. This doesn't have any meaning if the fieldReference is set to NoReference or SelfReference. The cascade option here should be the same as the one obtained in the fieldReference.
foreignFieldCascade :: ForeignDef -> !FieldCascadeesqueleto Database.Esqueleto.Legacy Determine how the field will cascade on updates and deletions.
-
esqueleto Database.Esqueleto.Legacy A FieldCascade that does nothing.
renderCascadeAction :: CascadeAction -> Textesqueleto Database.Esqueleto.Legacy Render a CascadeAction to Text such that it can be used in a SQL command.
renderFieldCascade :: FieldCascade -> Textesqueleto Database.Esqueleto.Legacy Renders a FieldCascade value such that it can be used in SQL migrations.