Database.Redis.List
- 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)
Documentation
Calls RPUSH with String arguments
Arguments
| :: Handle | |
| -> ByteString | key |
| -> ByteString | value |
| -> IO (Maybe RedisReply) |
Calls RPUSH with ByteString arguments
Calls LPUSH with String arguments
Arguments
| :: Handle | |
| -> ByteString | key |
| -> ByteString | value |
| -> IO (Maybe RedisReply) |
Calls LPUSH with ByteString arguments
Arguments
| :: Handle | |
| -> ByteString | key |
| -> IO (Maybe RedisReply) |
Calls LLEN with a ByteString argument
Calls LRANGE with a String argument
Arguments
| :: Handle | |
| -> ByteString | key |
| -> Int | start |
| -> Int | end |
| -> IO (Maybe RedisReply) |
Calls LRANGE with a ByteString argument
Arguments
| :: Handle | |
| -> ByteString | key |
| -> Int | index |
| -> IO (Maybe RedisReply) |
Calls LINDEX with ByteString and Int arguments