Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module defines new names for terms in esqueleto
that have
common conflicts with other modules.
Functions that perform "actions" are generally suffixed with an E
. So
update
becomes updateE
.
Functions that are about manipulating SqlExpr
are suffixed with an
_
. So isNothing
becomes isNothing_
.
Documentation
updateE :: (MonadIO m, PersistEntity record, BackendCompatible SqlBackend backend, BackendCompatible SqlBackend (PersistEntityBackend record), PersistQueryWrite backend, PersistUniqueWrite backend) => (SqlExpr (Entity record) -> SqlQuery ()) -> ReaderT backend m () Source #
selectSourceE :: (SqlSelect a r, BackendCompatible SqlBackend backend, IsPersistBackend backend, PersistQueryRead backend, PersistUniqueRead backend, MonadResource m) => SqlQuery a -> ConduitT () r (ReaderT backend m) () Source #
deleteE :: (MonadIO m, BackendCompatible SqlBackend backend, PersistQueryWrite backend, PersistUniqueWrite backend) => SqlQuery () -> ReaderT backend m () Source #
groupBy_ :: ToSomeValues a => a -> SqlQuery () Source #
isNothing_ :: PersistField a => SqlExpr (Value (Maybe a)) -> SqlExpr (Value Bool) Source #