Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. subSelectForeign :: (BackendCompatible SqlBackend (PersistEntityBackend val1), PersistEntity val1, PersistEntity val2, PersistField a) => SqlExpr (Entity val2) -> EntityField val2 (Key val1) -> (SqlExpr (Entity val1) -> SqlExpr (Value a)) -> SqlExpr (Value a)

    esqueleto Database.Esqueleto.Internal.Internal

    Performs a sub-select using the given foreign key on the entity. This is useful to extract values that are known to be present by the database schema. As an example, consider the following persistent definition:

    User
    profile ProfileId
    
    Profile
    name    Text
    
    The following query will return the name of the user.
    getUserWithName =
    select $
    from $ user ->
    pure (user, subSelectForeign user UserProfile (^. ProfileName)
    

  2. PersistForeignConstraintUnmet :: Text -> PersistException

    esqueleto Database.Esqueleto.Legacy

    No documentation available.

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

    esqueleto Database.Esqueleto.Legacy

    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

  4. getEntityForeignDefs :: EntityDef -> [ForeignDef]

    esqueleto Database.Esqueleto.Legacy

    No documentation available.

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

    esqueleto Database.Esqueleto.Legacy

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

  6. subSelectForeign :: (BackendCompatible SqlBackend (PersistEntityBackend val1), PersistEntity val1, PersistEntity val2, PersistField a) => SqlExpr (Entity val2) -> EntityField val2 (Key val1) -> (SqlExpr (Entity val1) -> SqlExpr (Value a)) -> SqlExpr (Value a)

    esqueleto Database.Esqueleto.Legacy

    Performs a sub-select using the given foreign key on the entity. This is useful to extract values that are known to be present by the database schema. As an example, consider the following persistent definition:

    User
    profile ProfileId
    
    Profile
    name    Text
    
    The following query will return the name of the user.
    getUserWithName =
    select $
    from $ user ->
    pure (user, subSelectForeign user UserProfile (^. ProfileName)
    

  7. runForget :: Forget r a (b :: k) -> a -> r

    essence-of-live-coding LiveCoding

    No documentation available.

  8. printSinesForever :: LiveProgram IO

    essence-of-live-coding LiveCoding.Forever

    No documentation available.

  9. sinesForever :: forall (m :: Type -> Type) . MonadFix m => Cell m () String

    essence-of-live-coding LiveCoding.Forever

    No documentation available.

  10. sinesForever' :: forall (m :: Type -> Type) . MonadFix m => CellExcept () String m Void

    essence-of-live-coding LiveCoding.Forever

    No documentation available.

Page 666 of many | Previous | Next