Hoogle Search
Within LTS Haskell 24.10 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromPersistValues :: PersistEntity record => [PersistValue] -> Either Text recordesqueleto Database.Esqueleto A lower-level operation to convert from database values to a Haskell record.
liftPersist :: (MonadIO m, MonadReader backend m) => ReaderT backend IO b -> m besqueleto Database.Esqueleto No documentation available.
-
esqueleto Database.Esqueleto No documentation available.
-
esqueleto Database.Esqueleto No documentation available.
-
esqueleto Database.Esqueleto No documentation available.
toPersistFields :: PersistEntity record => record -> [PersistValue]esqueleto Database.Esqueleto A meta-operation to get the database fields of a record.
toPersistValue :: PersistField a => a -> PersistValueesqueleto Database.Esqueleto No documentation available.
toPersistValueJSON :: ToJSON a => a -> PersistValueesqueleto Database.Esqueleto Convenience function for getting a free PersistField instance from a type with JSON instances. Example usage in combination with fromPersistValueJSON:
instance PersistField MyData where fromPersistValue = fromPersistValueJSON toPersistValue = toPersistValueJSON
class
HasPersistBackend backendesqueleto Database.Esqueleto.Experimental Class which allows the plucking of a BaseBackend backend from some larger type. For example, instance HasPersistBackend (SqlReadBackend, Int) where type BaseBackend (SqlReadBackend, Int) = SqlBackend persistBackend = unSqlReadBackend . fst
class HasPersistBackend backend =>
IsPersistBackend backendesqueleto Database.Esqueleto.Experimental Class which witnesses that backend is essentially the same as BaseBackend backend. That is, they're isomorphic and backend is just some wrapper over BaseBackend backend.