Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class QueryCheckResult f where Source #
queryCheckResult :: [a] -> Either DbError (f a) Source #
Instances
QueryCheckResult Maybe Source # | |
Defined in Polysemy.Db.Interpreter.Query | |
QueryCheckResult [] Source # | |
Defined in Polysemy.Db.Interpreter.Query queryCheckResult :: [a] -> Either DbError [a] Source # |
interpretQueryConst :: Ord q => QueryCheckResult f => Map q [d] -> InterpreterFor (Query q (f d) !! DbError) r Source #
interpretQueryAtomicState :: forall i a d q f r. Member (AtomicState (PureStore i a)) r => QueryCheckResult f => (q -> Uid i a -> Maybe d) -> InterpreterFor (Query q (f d) !! DbError) r Source #
interpretQueryConc :: Ord i => QueryCheckResult f => Member (Embed IO) r => (q -> Uid i a -> Maybe d) -> [Uid i a] -> InterpreterFor (Query q (f d) !! DbError) r Source #