redis-hs-0.1.2: A simple Redis library for Haskell

Database.Redis.SortedSet

Synopsis

Documentation

zSetAddSource

Arguments

:: Handle 
-> String

key

-> String

score, which can be a string float in Redis

-> String

value

-> IO (Maybe RedisReply) 

ZADD

zSetAddBSource

Arguments

:: Handle 
-> ByteString

key

-> ByteString

score, which can be a string float in Redis

-> ByteString

member

-> IO (Maybe RedisReply) 

ZADD

zSetRemoveSource

Arguments

:: Handle 
-> String

key

-> IO (Maybe RedisReply) 

ZREM

zSetIncrementBySource

Arguments

:: Handle 
-> String

key

-> Int

amount to increment

-> String

member

-> IO (Maybe RedisReply) 

ZINCRBY

zSetRankSource

Arguments

:: Handle 
-> String

key

-> String

member

-> IO (Maybe RedisReply) 

ZRANK

zSetReverseRankSource

Arguments

:: Handle 
-> String

key

-> String

member

-> IO (Maybe RedisReply) 

ZREVRANK

zSetRangeSource

Arguments

:: Handle 
-> String

key

-> Int

start

-> Int

end

-> IO (Maybe RedisReply) 

ZRANGE (does not yet include WITHSCORES)

zSetReverseRangeSource

Arguments

:: Handle 
-> String

key

-> Int

start

-> Int

end

-> IO (Maybe RedisReply) 

ZREVRANGE (does not yet include WITHSCORES)

zSetRangeByScoreSource

Arguments

:: Handle 
-> String

key

-> Int

mn

-> Int

mx

-> IO (Maybe RedisReply) 

ZRANGEBYSCORE

zSetCountSource

Arguments

:: Handle 
-> String

key

-> Int

mn

-> Int

mx

-> IO (Maybe RedisReply) 

ZCOUNT

zSetCardinalitySource

Arguments

:: Handle 
-> String

key

-> IO (Maybe RedisReply) 

ZCARD

zSetScoreSource

Arguments

:: Handle 
-> String

key

-> String

member

-> IO (Maybe RedisReply) 

ZSCORE

zSetRemRangeByRankSource

Arguments

:: Handle 
-> String

key

-> String

member

-> IO (Maybe RedisReply) 

ZREMRANGEBYRANK

zSetRemRangeByScoreSource

Arguments

:: Handle 
-> String

key

-> Int

start

-> Int

end

-> IO (Maybe RedisReply) 

ZREMRANGEBYSCORE