Database.Redis.Hash
- hashSet :: Handle -> String -> String -> String -> IO (Maybe RedisReply)
- hashSetB :: Handle -> ByteString -> ByteString -> ByteString -> IO (Maybe RedisReply)
- hashGet :: Handle -> String -> String -> IO (Maybe RedisReply)
- hashGetB :: Handle -> ByteString -> ByteString -> IO (Maybe RedisReply)
- hashMultiGet :: Handle -> String -> [String] -> IO (Maybe RedisReply)
- hashMultiSet :: Handle -> String -> [(String, String)] -> IO (Maybe RedisReply)
- hashIncrementBy :: Handle -> String -> String -> Int -> IO (Maybe RedisReply)
- hashExists :: Handle -> String -> String -> IO (Maybe RedisReply)
- hashDelete :: Handle -> String -> String -> IO (Maybe RedisReply)
- hashLength :: Handle -> String -> String -> IO (Maybe RedisReply)
- hashKeys :: Handle -> String -> IO (Maybe RedisReply)
- hashValues :: Handle -> String -> IO (Maybe RedisReply)
- hashGetAll :: Handle -> String -> IO (Maybe RedisReply)
Documentation
Calls HSET
with String
arguments
Arguments
:: Handle | |
-> ByteString | key |
-> ByteString | field |
-> ByteString | value |
-> IO (Maybe RedisReply) |
Calls HSET
with ByteString
arguments
Calls HGET
with ByteString
arguments
Arguments
:: Handle | |
-> ByteString | key |
-> ByteString | field |
-> IO (Maybe RedisReply) |
Calls HGET
with ByteString
arguments
Calls HMGET
http://code.google.com/p/redis/wiki/HmgetCommand with a
list of String
s
Arguments
:: Handle | |
-> String | key |
-> [(String, String)] | key/value pairs to set |
-> IO (Maybe RedisReply) |
Calls HMSET
http://code.google.com/p/redis/wiki/HmsetCommand with a
list of tuples (key, value)
Calls HEXISTS
(http://code.google.com/p/redis/wiki/HexistsCommand)
with String
arguments
Calls HDEL
(http://code.google.com/p/redis/wiki/HdelCommand)
with String
arguments
Calls HLEN
(http://code.google.com/p/redis/wiki/HlenCommand)
with String
arguments
Arguments
:: Handle | |
-> String | key |
-> IO (Maybe RedisReply) |
Calls HKEYS
(http://code.google.com/p/redis/wiki/HkeysCommand)
with a String
argument. N.B. despite its name, it returns fields.
Arguments
:: Handle | |
-> String | key |
-> IO (Maybe RedisReply) |
Calls HVALS
(http://code.google.com/p/redis/wiki/HvalsCommand)
with a String
argument.
Arguments
:: Handle | |
-> String | key |
-> IO (Maybe RedisReply) |
Calls HGETALL
(http://code.google.com/p/redis/wiki/HgetallCommand)
with a String
argument.