hlrdb-core-0.2.0.0: High-level Redis Database Core API
Safe HaskellNone
LanguageHaskell2010

HLRDB.Primitives.Aggregate

Synopsis

Documentation

newtype Q a Source #

An applicative representing a single bulk query, reified into the Redis monad via mget.

Constructors

Q (Traversal () a ByteString (Maybe ByteString)) 

Instances

Instances details
Functor Q Source # 
Instance details

Defined in HLRDB.Primitives.Aggregate

Methods

fmap :: (a -> b) -> Q a -> Q b #

(<$) :: a -> Q b -> Q a #

Applicative Q Source # 
Instance details

Defined in HLRDB.Primitives.Aggregate

Methods

pure :: a -> Q a #

(<*>) :: Q (a -> b) -> Q a -> Q b #

liftA2 :: (a -> b -> c) -> Q a -> Q b -> Q c #

(*>) :: Q a -> Q b -> Q b #

(<*) :: Q a -> Q b -> Q a #

Aggregate, atomic multi-set query (as in setting multiple things in a single query)

data MSET Source #

Aggregated mset query

Instances

Instances details
Semigroup MSET Source # 
Instance details

Defined in HLRDB.Internal

Methods

(<>) :: MSET -> MSET -> MSET #

sconcat :: NonEmpty MSET -> MSET #

stimes :: Integral b => b -> MSET -> MSET #

Monoid MSET Source # 
Instance details

Defined in HLRDB.Internal

Methods

mempty :: MSET #

mappend :: MSET -> MSET -> MSET #

mconcat :: [MSET] -> MSET #