Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
persistent Database.Persist.Quasi.Internal A list of fields present on the foreign reference.
unboundForeignDef :: UnboundForeignDef -> ForeignDefpersistent Database.Persist.Quasi.Internal The ForeignDef which needs information filled in. This value is unreliable. See the parsing code to see what data is filled in here.
unboundForeignDefs :: UnboundEntityDef -> [UnboundForeignDef]persistent Database.Persist.Quasi.Internal A list of foreign definitions on the parsed entity.
unboundForeignFields :: UnboundForeignDef -> UnboundForeignFieldListpersistent Database.Persist.Quasi.Internal Fields in the source entity.
setPsUseSnakeCaseForeignKeys :: PersistSettings -> PersistSettingspersistent Database.Persist.Quasi.PersistSettings A preset configuration function that puts an underscore between the entity name and the constraint name when creating a foreign key constraint name
setPsUseSnakeCaseForiegnKeys :: PersistSettings -> PersistSettingspersistent Database.Persist.Quasi.PersistSettings Deprecated: use the correctly spelled, equivalent, setPsUseSnakeCaseForeignKeys instead
setPsUseSnakeCaseForeignKeys :: PersistSettings -> PersistSettingspersistent Database.Persist.Quasi.PersistSettings.Internal A preset configuration function that puts an underscore between the entity name and the constraint name when creating a foreign key constraint name
setPsUseSnakeCaseForiegnKeys :: PersistSettings -> PersistSettingspersistent Database.Persist.Quasi.PersistSettings.Internal Deprecated: use the correctly spelled, equivalent, setPsUseSnakeCaseForeignKeys instead
-
persistent Database.Persist.Sql If the override is defined, then this returns a function that accepts an entity name and field name and provides the ConstraintNameDB for the foreign key constraint. An abstract accessor for the BackendSpecificOverrides
-
persistent Database.Persist.Sql Set the backend's foreign key generation function to this value.