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

Database.Redis.General

Synopsis

Documentation

keyExistsBSource

Arguments

:: Handle 
-> ByteString

key

-> IO (Maybe RedisReply) 

Calls EXISTS with a ByteString argument

keyDeleteSource

Arguments

:: Handle 
-> [String]

keys to delete

-> IO (Maybe RedisReply) 

Calls DEL (http://code.google.com/p/redis/wiki/DelCommand) with a list of String arguments.

keys :: Handle -> String -> IO (Maybe RedisReply)Source

Calls KEYS with a String argument

keysB :: Handle -> ByteString -> IO (Maybe RedisReply)Source

Calls KEYS with a String argument

keyRenameSource

Arguments

:: Handle 
-> String

old key name

-> String

new key name

-> IO (Maybe RedisReply)