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.Experimental 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.Experimental No documentation available.
-
esqueleto Database.Esqueleto.Experimental Set the backend's foreign key generation function to this value.
-
esqueleto Database.Esqueleto.Experimental 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)
NewIdentForError :: UnexpectedCaseErroresqueleto Database.Esqueleto.Internal.Internal No documentation available.
PostgresForKeyShare :: PostgresRowLevelLockStrengthesqueleto Database.Esqueleto.Internal.Internal No documentation available.
PostgresForNoKeyUpdate :: PostgresRowLevelLockStrengthesqueleto Database.Esqueleto.Internal.Internal No documentation available.
PostgresForShare :: PostgresRowLevelLockStrengthesqueleto Database.Esqueleto.Internal.Internal No documentation available.
PostgresForUpdate :: PostgresRowLevelLockStrengthesqueleto Database.Esqueleto.Internal.Internal No documentation available.
newIdentFor :: DBName -> SqlQuery Identesqueleto Database.Esqueleto.Internal.Internal