Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
createArticleFunctions :: MonadIO m => SqlPersistT m () Source #
assumingUserIsOwner :: forall table id m a e. (OwnableEntity table, SqlKey table id, MonadIO m, Show e) => e -> UserID -> id -> SqlPersistT m a -> SqlPersistT m a Source #
mkManyArticles :: [(Entity Article, Entity User, Value Bool, Value Bool, Value Int)] -> ManyArticles Source #
mkOneArticle :: (Entity Article, Entity User, Value Bool, Value Bool, Value Int) -> OneArticle Source #
Article | |
|
Instances
Favorite | |
|
Instances
Comment | |
|