Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. entityForeigns :: EntityDef -> ![ForeignDef]

    persistent Database.Persist.EntityDef.Internal

    The foreign key relationships that this entity has to other entities.

  2. setPsUseSnakeCaseForeignKeys :: PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi

    A preset configuration function that puts an underscore between the entity name and the constraint name when creating a foreign key constraint name

  3. setPsUseSnakeCaseForiegnKeys :: PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi

    Deprecated: use the correctly spelled, equivalent, setPsUseSnakeCaseForeignKeys instead

  4. data UnboundForeignDef

    persistent Database.Persist.Quasi.Internal

    Define an explicit foreign key reference.

    User
    name Text
    email Text
    
    Primary name email
    
    Dog
    ownerName Text
    ownerEmail Text
    
    Foreign User fk_dog_user ownerName ownerEmail
    

  5. UnboundForeignDef :: UnboundForeignFieldList -> ForeignDef -> UnboundForeignDef

    persistent Database.Persist.Quasi.Internal

    No documentation available.

  6. data UnboundForeignFieldList

    persistent Database.Persist.Quasi.Internal

    A list of fields present on the foreign reference.

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

  8. unboundForeignDefs :: UnboundEntityDef -> [UnboundForeignDef]

    persistent Database.Persist.Quasi.Internal

    A list of foreign definitions on the parsed entity.

  9. unboundForeignFields :: UnboundForeignDef -> UnboundForeignFieldList

    persistent Database.Persist.Quasi.Internal

    Fields in the source entity.

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

Page 498 of many | Previous | Next