Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. getByValue :: (PersistRecordBackend record SqlBackend, AtLeastOneUniqueKey record, Typeable record, MonadSqlQuery m) => record -> m (Maybe (Entity record))

    persistent-mtl Database.Persist.Sql.Shim

    The lifted version of getByValue

  2. getEntity :: (PersistRecordBackend record SqlBackend, Typeable record, MonadSqlQuery m) => Key record -> m (Maybe (Entity record))

    persistent-mtl Database.Persist.Sql.Shim

    The lifted version of getEntity

  3. getEntityComments :: EntityDef -> Maybe Text

    persistent-mtl Database.Persist.Sql.Shim

    No documentation available.

  4. getEntityDBName :: EntityDef -> EntityNameDB

    persistent-mtl Database.Persist.Sql.Shim

    Return the database name for the given entity.

  5. getEntityExtra :: EntityDef -> Map Text [[Text]]

    persistent-mtl Database.Persist.Sql.Shim

    No documentation available.

  6. getEntityFields :: EntityDef -> [FieldDef]

    persistent-mtl Database.Persist.Sql.Shim

    Retrieve the list of FieldDef that makes up the fields of the entity. This does not return the fields for an Id column or an implicit id. It will return the key columns if you used the Primary syntax for defining the primary key. This does not return fields that are marked SafeToRemove or MigrationOnly - so it only returns fields that are represented in the Haskell type. If you need those fields, use getEntityFieldsDatabase.

  7. getEntityFieldsDatabase :: EntityDef -> [FieldDef]

    persistent-mtl Database.Persist.Sql.Shim

    This returns all of the FieldDef defined for the EntityDef, including those fields that are marked as MigrationOnly (and therefore only present in the database) or SafeToRemove (and a migration will drop the column if it exists in the database). For all the fields that are present on the Haskell-type, see getEntityFields.

  8. getEntityForeignDefs :: EntityDef -> [ForeignDef]

    persistent-mtl Database.Persist.Sql.Shim

    No documentation available.

  9. getEntityHaskellName :: EntityDef -> EntityNameHS

    persistent-mtl Database.Persist.Sql.Shim

    Retrieve the Haskell name of the given entity.

  10. getEntityId :: EntityDef -> EntityIdDef

    persistent-mtl Database.Persist.Sql.Shim

    No documentation available.

Page 10 of many | Previous | Next