Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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

  1. EntityIdNaturalKey :: CompositeDef -> EntityIdDef

    persistent Database.Persist.EntityDef

    The entity has a natural key. This means you can write rec -> Key rec because all the key fields are present on the datatype. A natural key can have one or more columns.

  2. getEntityId :: EntityDef -> EntityIdDef

    persistent Database.Persist.EntityDef

    No documentation available.

  3. getEntityIdField :: EntityDef -> Maybe FieldDef

    persistent Database.Persist.EntityDef

    No documentation available.

  4. setEntityId :: FieldDef -> EntityDef -> EntityDef

    persistent Database.Persist.EntityDef

    Set an entityId to be the given FieldDef.

  5. setEntityIdDef :: EntityIdDef -> EntityDef -> EntityDef

    persistent Database.Persist.EntityDef

    No documentation available.

  6. data EntityIdDef

    persistent Database.Persist.EntityDef.Internal

    The definition for the entity's primary key ID.

  7. EntityIdField :: FieldDef -> EntityIdDef

    persistent Database.Persist.EntityDef.Internal

    The entity has a single key column, and it is a surrogate key - that is, you can't go from rec -> Key rec.

  8. EntityIdNaturalKey :: CompositeDef -> EntityIdDef

    persistent Database.Persist.EntityDef.Internal

    The entity has a natural key. This means you can write rec -> Key rec because all the key fields are present on the datatype. A natural key can have one or more columns.

  9. entityId :: EntityDef -> !EntityIdDef

    persistent Database.Persist.EntityDef.Internal

    The entity's primary key or identifier.

  10. fieldIsImplicitIdColumn :: FieldDef -> !Bool

    persistent Database.Persist.FieldDef.Internal

    True if the field is an implicit ID column. False otherwise.

Page 595 of many | Previous | Next