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.

  1. fromPersistValues :: PersistEntity record => [PersistValue] -> Either Text record

    esqueleto Database.Esqueleto

    A lower-level operation to convert from database values to a Haskell record.

  2. liftPersist :: (MonadIO m, MonadReader backend m) => ReaderT backend IO b -> m b

    esqueleto Database.Esqueleto

    No documentation available.

  3. liftSqlPersistMPool :: forall backend m a . (MonadIO m, BackendCompatible SqlBackend backend) => ReaderT backend (NoLoggingT (ResourceT IO)) a -> Pool backend -> m a

    esqueleto Database.Esqueleto

    No documentation available.

  4. runSqlPersistM :: BackendCompatible SqlBackend backend => ReaderT backend (NoLoggingT (ResourceT IO)) a -> backend -> IO a

    esqueleto Database.Esqueleto

    No documentation available.

  5. runSqlPersistMPool :: BackendCompatible SqlBackend backend => ReaderT backend (NoLoggingT (ResourceT IO)) a -> Pool backend -> IO a

    esqueleto Database.Esqueleto

    No documentation available.

  6. toPersistFields :: PersistEntity record => record -> [PersistValue]

    esqueleto Database.Esqueleto

    A meta-operation to get the database fields of a record.

  7. toPersistValue :: PersistField a => a -> PersistValue

    esqueleto Database.Esqueleto

    No documentation available.

  8. toPersistValueJSON :: ToJSON a => a -> PersistValue

    esqueleto 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
    

  9. class HasPersistBackend backend

    esqueleto 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

  10. class HasPersistBackend backend => IsPersistBackend backend

    esqueleto 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.

Page 47 of many | Previous | Next