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.
EntityIdNaturalKey :: CompositeDef -> EntityIdDefpersistent 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.
getEntityId :: EntityDef -> EntityIdDefpersistent Database.Persist.EntityDef No documentation available.
getEntityIdField :: EntityDef -> Maybe FieldDefpersistent Database.Persist.EntityDef No documentation available.
setEntityId :: FieldDef -> EntityDef -> EntityDefpersistent Database.Persist.EntityDef setEntityIdDef :: EntityIdDef -> EntityDef -> EntityDefpersistent Database.Persist.EntityDef No documentation available.
-
persistent Database.Persist.EntityDef.Internal The definition for the entity's primary key ID.
EntityIdField :: FieldDef -> EntityIdDefpersistent 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.
EntityIdNaturalKey :: CompositeDef -> EntityIdDefpersistent 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.
entityId :: EntityDef -> !EntityIdDefpersistent Database.Persist.EntityDef.Internal The entity's primary key or identifier.
fieldIsImplicitIdColumn :: FieldDef -> !Boolpersistent Database.Persist.FieldDef.Internal True if the field is an implicit ID column. False otherwise.