Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
lockByTable :: MonadIO m => Table -> SqlPersistT m () Source #
lockByRow :: (MonadIO m, HasTable a, ToBackendKey SqlBackend a) => Key a -> SqlPersistT m a Source #
lockByUnique :: (MonadIO m, HasTable a, ToBackendKey SqlBackend a) => Unique a -> SqlPersistT m (Maybe (Entity a)) Source #