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.
-
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)
PersistForeignConstraintUnmet :: Text -> PersistExceptionesqueleto Database.Esqueleto.Legacy No documentation available.
-
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
getEntityForeignDefs :: EntityDef -> [ForeignDef]esqueleto Database.Esqueleto.Legacy No documentation available.
-
esqueleto Database.Esqueleto.Legacy Set the backend's foreign key generation function to this value.
-
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)
runForget :: Forget r a (b :: k) -> a -> ressence-of-live-coding LiveCoding No documentation available.
printSinesForever :: LiveProgram IOessence-of-live-coding LiveCoding.Forever No documentation available.
sinesForever :: forall (m :: Type -> Type) . MonadFix m => Cell m () Stringessence-of-live-coding LiveCoding.Forever No documentation available.
sinesForever' :: forall (m :: Type -> Type) . MonadFix m => CellExcept () String m Voidessence-of-live-coding LiveCoding.Forever No documentation available.