PersistStoreWrite SqlBackend Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore Methods insert :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend, SafeToInsert record) => record -> ReaderT SqlBackend m (Key record) Source # insert_ :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend, SafeToInsert record) => record -> ReaderT SqlBackend m () Source # insertMany :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend, SafeToInsert record) => [record] -> ReaderT SqlBackend m [Key record] Source # insertMany_ :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend, SafeToInsert record) => [record] -> ReaderT SqlBackend m () Source # insertEntityMany :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend) => [Entity record] -> ReaderT SqlBackend m () Source # insertKey :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend) => Key record -> record -> ReaderT SqlBackend m () Source # repsert :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend) => Key record -> record -> ReaderT SqlBackend m () Source # repsertMany :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend) => [(Key record, record)] -> ReaderT SqlBackend m () Source # replace :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend) => Key record -> record -> ReaderT SqlBackend m () Source # delete :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend) => Key record -> ReaderT SqlBackend m () Source # update :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend) => Key record -> [Update record] -> ReaderT SqlBackend m () Source # updateGet :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend) => Key record -> [Update record] -> ReaderT SqlBackend m record Source # |
PersistStoreRead SqlBackend Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
PersistCore SqlBackend Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
IsPersistBackend SqlBackend Source # | |
Instance detailsDefined in Database.Persist.SqlBackend.Internal |
HasPersistBackend SqlBackend Source # | |
Instance detailsDefined in Database.Persist.SqlBackend.Internal |
PersistUniqueWrite SqlBackend Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistUnique Methods deleteBy :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend) => Unique record -> ReaderT SqlBackend m () Source # insertUnique :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend, SafeToInsert record) => record -> ReaderT SqlBackend m (Maybe (Key record)) Source # upsert :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend, OnlyOneUniqueKey record, SafeToInsert record) => record -> [Update record] -> ReaderT SqlBackend m (Entity record) Source # upsertBy :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend, SafeToInsert record) => Unique record -> record -> [Update record] -> ReaderT SqlBackend m (Entity record) Source # putMany :: forall record (m :: Type -> Type). (MonadIO m, PersistRecordBackend record SqlBackend, SafeToInsert record) => [record] -> ReaderT SqlBackend m () Source # |
PersistUniqueRead SqlBackend Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistUnique |
PersistQueryWrite SqlBackend Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistQuery |
PersistQueryRead SqlBackend Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistQuery |
BackendCompatible SqlBackend SqlBackend Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
BackendCompatible SqlBackend SqlWriteBackend Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
BackendCompatible SqlBackend SqlReadBackend Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
Bounded (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
Enum (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
Eq (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
Integral (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
Num (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
Ord (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
Read (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
Real (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
Show (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
Generic (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
ToJSON (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
FromJSON (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
ToHttpApiData (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
FromHttpApiData (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
PathPiece (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
PersistField (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
PersistFieldSql (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
newtype BackendKey SqlBackend Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |
type BaseBackend SqlBackend Source # | |
Instance detailsDefined in Database.Persist.SqlBackend.Internal |
type Rep (BackendKey SqlBackend) Source # | |
Instance detailsDefined in Database.Persist.Sql.Orphan.PersistStore |