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

Database.Redis.Hash

Synopsis

Documentation

hashSetSource

Arguments

:: Handle 
-> String

key

-> String

field

-> String

value

-> IO (Maybe RedisReply) 

Calls HSET with String arguments

hashSetBSource

Arguments

:: Handle 
-> ByteString

key

-> ByteString

field

-> ByteString

value

-> IO (Maybe RedisReply) 

Calls HSET with ByteString arguments

hashGetSource

Arguments

:: Handle 
-> String

key

-> String

field

-> IO (Maybe RedisReply) 

Calls HGET with ByteString arguments

hashGetBSource

Arguments

:: Handle 
-> ByteString

key

-> ByteString

field

-> IO (Maybe RedisReply) 

Calls HGET with ByteString arguments

hashMultiSetSource

Arguments

:: Handle 
-> String

key

-> [(String, String)]

key/value pairs to set

-> IO (Maybe RedisReply) 

hashIncrementBySource

Arguments

:: Handle 
-> String

key

-> String

field

-> Int

field

-> IO (Maybe RedisReply) 

Calls HINCRBY with String and Int arguments

hashKeysSource

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.