Module
Database.Redis
- Package
- purescript-redis-client
- Repository
- paluh/purescript-redis-client
#Connection Source
data Connection :: Type
#negInf Source
negInf :: ZscoreInterval Int
Use this to avoid type signatures
#blpop Source
blpop :: Connection -> NonEmpty Array ByteString -> Int -> Aff (Maybe { key :: ByteString, value :: ByteString })
#blpopIndef Source
blpopIndef :: Connection -> NonEmpty Array ByteString -> Aff { key :: ByteString, value :: ByteString }
#brpop Source
brpop :: Connection -> NonEmpty Array ByteString -> Int -> Aff (Maybe { key :: ByteString, value :: ByteString })
#brpopIndef Source
brpopIndef :: Connection -> NonEmpty Array ByteString -> Aff { key :: ByteString, value :: ByteString }
#del Source
del :: Connection -> NonEmpty Array ByteString -> Aff Unit
#disconnect Source
disconnect :: Connection -> Aff Unit
#hget Source
hget :: Connection -> ByteString -> ByteString -> Aff (Maybe ByteString)
#hgetall Source
hgetall :: Connection -> ByteString -> Aff (Array { key :: ByteString, value :: ByteString })
#hset Source
hset :: Connection -> ByteString -> ByteString -> ByteString -> Aff Int
#get Source
get :: Connection -> ByteString -> Aff (Maybe ByteString)
#incr Source
incr :: Connection -> ByteString -> Aff Int
#keys Source
keys :: Connection -> ByteString -> Aff (Array ByteString)
#lpop Source
lpop :: Connection -> ByteString -> Aff (Maybe ByteString)
#lpush Source
lpush :: Connection -> ByteString -> ByteString -> Aff Int
#lrange Source
lrange :: Connection -> ByteString -> Int -> Int -> Aff (Array ByteString)
#ltrim Source
ltrim :: Connection -> ByteString -> Int -> Int -> Aff Unit
#mget Source
mget :: Connection -> NonEmpty Array ByteString -> Aff (Array ByteString)
#rpop Source
rpop :: Connection -> ByteString -> Aff (Maybe ByteString)
#rpush Source
rpush :: Connection -> ByteString -> ByteString -> Aff Int
#set Source
set :: Connection -> ByteString -> ByteString -> Maybe Expire -> Maybe Write -> Aff Unit
#withConnection Source
withConnection :: forall a. Config -> (Connection -> Aff a) -> Aff a
#zadd Source
zadd :: forall i. Int53Value i => Connection -> ByteString -> Zadd -> NonEmpty Array (Zitem i) -> Aff Int
This API allows you to build only these combination of write modes and return values:
ZADD key CH score member [score member]
ZADD key score member [score member]
ZADD key XX CH score member [score member]
ZADD key NX score member [score member]
#zcard Source
zcard :: Connection -> ByteString -> Aff Int
#zrank Source
zrank :: Connection -> ByteString -> ByteString -> Aff (Maybe Int)
#zincrby Source
zincrby :: forall i. Int53Value i => Connection -> ByteString -> i -> ByteString -> Aff Int53
#zrangebyscore Source
zrangebyscore :: forall min max. Int53Value min => Int53Value max => Connection -> ByteString -> (ZscoreInterval min) -> (ZscoreInterval max) -> Maybe Zlimit -> Aff (Array (Zitem Int53))
#zrem Source
zrem :: Connection -> ByteString -> NonEmpty Array ByteString -> Aff Int
#zremrangebylex Source
zremrangebylex :: Connection -> ByteString -> ByteString -> ByteString -> Aff Int
#zremrangebyrank Source
zremrangebyrank :: Connection -> ByteString -> Int -> Int -> Aff Int
#zremrangebyscore Source
zremrangebyscore :: forall min max. Int53Value min => Int53Value max => Connection -> ByteString -> (ZscoreInterval min) -> (ZscoreInterval max) -> Aff Int
#zrevrangebyscore Source
zrevrangebyscore :: forall min max. Int53Value min => Int53Value max => Connection -> ByteString -> (ZscoreInterval min) -> (ZscoreInterval max) -> Maybe Zlimit -> Aff (Array (Zitem Int53))
#zscore Source
zscore :: Connection -> ByteString -> ByteString -> Aff (Maybe Int53)
- Modules
- Database.
Redis