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

Database.Redis.List

Synopsis

Documentation

listRightPushSource

Arguments

:: Handle 
-> String

key

-> String

value

-> IO (Maybe RedisReply) 

Calls RPUSH with String arguments

listRightPushBSource

Arguments

:: Handle 
-> ByteString

key

-> ByteString

value

-> IO (Maybe RedisReply) 

Calls RPUSH with ByteString arguments

listLeftPushSource

Arguments

:: Handle 
-> String

key

-> String

value

-> IO (Maybe RedisReply) 

Calls LPUSH with String arguments

listLeftPushBSource

Arguments

:: Handle 
-> ByteString

key

-> ByteString

value

-> IO (Maybe RedisReply) 

Calls LPUSH with ByteString arguments

listLengthSource

Arguments

:: Handle 
-> String

key

-> IO (Maybe RedisReply) 

Calls LLEN with a String argument

listLengthBSource

Arguments

:: Handle 
-> ByteString

key

-> IO (Maybe RedisReply) 

Calls LLEN with a ByteString argument

listRangeSource

Arguments

:: Handle 
-> String

key

-> Int

start

-> Int

end

-> IO (Maybe RedisReply) 

Calls LRANGE with a String argument

listRangeBSource

Arguments

:: Handle 
-> ByteString

key

-> Int

start

-> Int

end

-> IO (Maybe RedisReply) 

Calls LRANGE with a ByteString argument

listIndexSource

Arguments

:: Handle 
-> String

key

-> Int

index

-> IO (Maybe RedisReply) 

Calls LINDEX with String and Int arguments

listIndexBSource

Arguments

:: Handle 
-> ByteString

key

-> Int

index

-> IO (Maybe RedisReply) 

Calls LINDEX with ByteString and Int arguments