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. type SqlPersistM = SqlPersistT NoLoggingT ResourceT IO

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  2. type SqlPersistT = ReaderT SqlBackend

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  3. fromPersistValue :: PersistField a => PersistValue -> Either Text a

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  4. fromPersistValueJSON :: FromJSON a => PersistValue -> Either Text a

    esqueleto Database.Esqueleto.Experimental

    Convenience function for getting a free PersistField instance from a type with JSON instances. The JSON parser used will accept JSON values other that object and arrays. So, if your instance serializes the data to a JSON string, this will still work. Example usage in combination with toPersistValueJSON:

    instance PersistField MyData where
    fromPersistValue = fromPersistValueJSON
    toPersistValue = toPersistValueJSON
    

  5. fromPersistValueText :: PersistValue -> Either Text Text

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

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

    esqueleto Database.Esqueleto.Experimental

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

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

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

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

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

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

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

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

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

Page 48 of many | Previous | Next