Hoogle Search
Within LTS Haskell 22.19 (ghc-9.6.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fieldCascade :: FieldDef -> !FieldCascadeesqueleto Database.Esqueleto 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 Determine how the field will cascade on updates and deletions.
-
esqueleto Database.Esqueleto A FieldCascade that does nothing.
renderCascadeAction :: CascadeAction -> Textesqueleto Database.Esqueleto Render a CascadeAction to Text such that it can be used in a SQL command.
renderFieldCascade :: FieldCascade -> Textesqueleto Database.Esqueleto Renders a FieldCascade value such that it can be used in SQL migrations.
-
esqueleto Database.Esqueleto.Experimental No documentation available.
-
esqueleto Database.Esqueleto.Experimental An action that might happen on a deletion or update on a foreign key change.
-
esqueleto Database.Esqueleto.Experimental 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.Experimental No documentation available.
crFieldCascade :: ColumnReference -> !FieldCascadeesqueleto Database.Esqueleto.Experimental Whether or not updates/deletions to the referenced table cascade to this table.