Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. defaultPersistSettings :: PersistSettings

    persistent Database.Persist.Quasi.PersistSettings

    No documentation available.

  2. defaultPersistSettings :: PersistSettings

    persistent Database.Persist.Quasi.PersistSettings.Internal

    No documentation available.

  3. type SqlPersistM = SqlPersistT NoLoggingT ResourceT IO

    persistent Database.Persist.Sql

    No documentation available.

  4. type SqlPersistT = ReaderT SqlBackend

    persistent Database.Persist.Sql

    No documentation available.

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

    persistent Database.Persist.Sql

    No documentation available.

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

    persistent Database.Persist.Sql

    No documentation available.

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

    persistent Database.Persist.Sql

    No documentation available.

  8. class HasPersistBackend backend

    persistent Database.Persist.Sql.Types.Internal

    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

  9. class HasPersistBackend backend => IsPersistBackend backend

    persistent Database.Persist.Sql.Types.Internal

    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.

  10. mkPersistBackend :: IsPersistBackend backend => BaseBackend backend -> backend

    persistent Database.Persist.Sql.Types.Internal

    This function is how we actually construct and tag a backend as having read or write capabilities. It should be used carefully and only when actually constructing a backend. Careless use allows us to accidentally run a write query against a read-only database.

Page 44 of many | Previous | Next