- listRightPush :: Handle -> String -> String -> IO (Maybe RedisReply)
- listRightPushB :: Handle -> ByteString -> ByteString -> IO (Maybe RedisReply)
- listLeftPush :: Handle -> String -> String -> IO (Maybe RedisReply)
- listLeftPushB :: Handle -> ByteString -> ByteString -> IO (Maybe RedisReply)
- listLength :: Handle -> String -> IO (Maybe RedisReply)
- listLengthB :: Handle -> ByteString -> IO (Maybe RedisReply)
- listRange :: Handle -> String -> Int -> Int -> IO (Maybe RedisReply)
- listRangeB :: Handle -> ByteString -> Int -> Int -> IO (Maybe RedisReply)
- listIndex :: Handle -> String -> Int -> IO (Maybe RedisReply)
- listIndexB :: Handle -> ByteString -> Int -> IO (Maybe RedisReply)
- listRemove :: Handle -> String -> Int -> String -> IO (Maybe RedisReply)
Documentation
Calls RPUSH
with String
arguments
:: Handle | |
-> ByteString | key |
-> ByteString | value |
-> IO (Maybe RedisReply) |
Calls RPUSH
with ByteString
arguments
Calls LPUSH
with String
arguments
:: Handle | |
-> ByteString | key |
-> ByteString | value |
-> IO (Maybe RedisReply) |
Calls LPUSH
with ByteString
arguments
:: Handle | |
-> ByteString | key |
-> IO (Maybe RedisReply) |
Calls LLEN
with a ByteString
argument
Calls LRANGE
with a String
argument
:: Handle | |
-> ByteString | key |
-> Int | start |
-> Int | end |
-> IO (Maybe RedisReply) |
Calls LRANGE
with a ByteString
argument
:: Handle | |
-> ByteString | key |
-> Int | index |
-> IO (Maybe RedisReply) |
Calls LINDEX
with ByteString
and Int
arguments
:: Handle | |
-> String | key |
-> Int | the number of items to delete (sign is direction) |
-> String | value |
-> IO (Maybe RedisReply) |
Calls LREM
with String
and Int
arguments. This command deletes
values matching the value
parameter. A negative Int
argument deletes
starting at the tail and moving towards the head (or from right to left,
after the push commands). A positive argument deletes from left to right.
Zero deletes all the elements. Returns the number of elements deleted
(which should match the number) or 0 on failure.