bdcs-0.5.0: Tools for managing a content store of software packages

Safe HaskellNone
LanguageHaskell2010

BDCS.Projects

Synopsis

Documentation

findProject :: MonadIO m => Text -> SqlPersistT m (Maybe (Key Projects)) Source #

getProject :: MonadIO m => Key Projects -> SqlPersistT m (Maybe Projects) Source #

getProjectsLike :: MonadIO m => Maybe Int64 -> Maybe Int64 -> Text -> SqlPersistT m ([Projects], Int64) Source #

Get the projects matching a name Optionally limit the results with limit and offset Also returns the total number of results, before offset and limit are applied

getProjectsTotal :: MonadIO m => SqlPersistT m Int64 Source #

Return the total number of projects

insertProject :: MonadIO m => Projects -> SqlPersistT m (Key Projects) Source #

projects :: MonadIO m => SqlPersistT m [Projects] Source #