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.

  1. data UnboundForeignFieldList

    persistent Database.Persist.Quasi.Internal

    A list of fields present on the foreign reference.

  2. unboundForeignDef :: UnboundForeignDef -> ForeignDef

    persistent 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.

  3. unboundForeignDefs :: UnboundEntityDef -> [UnboundForeignDef]

    persistent Database.Persist.Quasi.Internal

    A list of foreign definitions on the parsed entity.

  4. unboundForeignFields :: UnboundForeignDef -> UnboundForeignFieldList

    persistent Database.Persist.Quasi.Internal

    Fields in the source entity.

  5. setPsUseSnakeCaseForeignKeys :: PersistSettings -> PersistSettings

    persistent 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

  6. setPsUseSnakeCaseForiegnKeys :: PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi.PersistSettings

    Deprecated: use the correctly spelled, equivalent, setPsUseSnakeCaseForeignKeys instead

  7. setPsUseSnakeCaseForeignKeys :: PersistSettings -> PersistSettings

    persistent 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

  8. setPsUseSnakeCaseForiegnKeys :: PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi.PersistSettings.Internal

    Deprecated: use the correctly spelled, equivalent, setPsUseSnakeCaseForeignKeys instead

  9. getBackendSpecificForeignKeyName :: BackendSpecificOverrides -> Maybe (EntityNameDB -> FieldNameDB -> ConstraintNameDB)

    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

  10. setBackendSpecificForeignKeyName :: (EntityNameDB -> FieldNameDB -> ConstraintNameDB) -> BackendSpecificOverrides -> BackendSpecificOverrides

    persistent Database.Persist.Sql

    Set the backend's foreign key generation function to this value.

Page 498 of many | Previous | Next