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.
toFrom :: ToFrom a r => a -> From resqueleto Database.Esqueleto.Experimental.From No documentation available.
unFrom :: From a -> SqlQuery (a, RawFn)esqueleto Database.Esqueleto.Experimental.From No documentation available.
MakeFromError :: UnexpectedCaseErroresqueleto Database.Esqueleto.Internal.Internal No documentation available.
-
esqueleto Database.Esqueleto.Internal.Internal Data type to support from hack
PreprocessedFrom :: a -> FromClause -> PreprocessedFrom aesqueleto Database.Esqueleto.Internal.Internal No documentation available.
makeFrom :: IdentInfo -> Mode -> [FromClause] -> (Builder, [PersistValue])esqueleto Database.Esqueleto.Internal.Internal No documentation available.
sdFromClause :: SideData -> ![FromClause]esqueleto Database.Esqueleto.Internal.Internal No documentation available.
entityIdFromJSON :: (PersistEntity record, FromJSON record) => Value -> Parser (Entity record)esqueleto Database.Esqueleto.Legacy Predefined parseJSON. The input JSON looks like {"id": 1, "name": ...}. The typical usage is:
instance FromJSON (Entity User) where parseJSON = entityIdFromJSON
keyFromRecordM :: PersistEntity record => Maybe (record -> Key record)esqueleto Database.Esqueleto.Legacy Extract a Key record from a record value. Currently, this is only defined for entities using the Primary syntax for natural/composite keys. In a future version of persistent which incorporates the ID directly into the entity, this will always be Just.
keyFromValues :: PersistEntity record => [PersistValue] -> Either Text (Key record)esqueleto Database.Esqueleto.Legacy A lower-level key operation.