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

Database.Redis.List

Synopsis

Documentation

listRightPushSource

Arguments

:: Handle 
-> String

key

-> String

value

-> IO (Maybe RedisReply) 

RPUSH

listRightPushBSource

Arguments

:: Handle 
-> ByteString

key

-> ByteString

value

-> IO (Maybe RedisReply) 

RPUSH for ByteString input

listLeftPushSource

Arguments

:: Handle 
-> String

key

-> String

value

-> IO (Maybe RedisReply) 

listLeftPushBSource

Arguments

:: Handle 
-> ByteString

key

-> ByteString

value

-> IO (Maybe RedisReply) 

LPUSH for ByteString input

listLengthSource

Arguments

:: Handle 
-> String

key

-> IO (Maybe RedisReply) 

LLEN

listLengthBSource

Arguments

:: Handle 
-> ByteString

key

-> IO (Maybe RedisReply) 

LLEN for ByteString input

listRangeSource

Arguments

:: Handle 
-> String

key

-> Int

start

-> Int

end

-> IO (Maybe RedisReply) 

LRANGE

listRangeBSource

Arguments

:: Handle 
-> ByteString

key

-> Int

start

-> Int

end

-> IO (Maybe RedisReply) 

LRANGE for ByteString input

listIndexSource

Arguments

:: Handle 
-> String

key

-> Int

index

-> IO (Maybe RedisReply) 

listIndexBSource

Arguments

:: Handle 
-> ByteString

key

-> Int

index

-> IO (Maybe RedisReply)