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
Arguments
| :: Handle | |
| -> ByteString | key |
| -> ByteString | value |
| -> IO (Maybe RedisReply) |
RPUSH for ByteString input
Arguments
| :: Handle | |
| -> ByteString | key |
| -> ByteString | value |
| -> IO (Maybe RedisReply) |
LPUSH for ByteString input
Arguments
| :: Handle | |
| -> ByteString | key |
| -> IO (Maybe RedisReply) |
LLEN for ByteString input
LRANGE
Arguments
| :: Handle | |
| -> ByteString | key |
| -> Int | start |
| -> Int | end |
| -> IO (Maybe RedisReply) |
LRANGE for ByteString input
Arguments
| :: Handle | |
| -> ByteString | key |
| -> Int | index |
| -> IO (Maybe RedisReply) |