diff --git a/codegen/GenCmds.hs b/codegen/GenCmds.hs index 84774c3f..83fea8e1 100644 --- a/codegen/GenCmds.hs +++ b/codegen/GenCmds.hs @@ -101,6 +101,7 @@ data Cmd = Cmd { cmdName, cmdGroup :: String , cmdRetType :: Maybe String , cmdArgs :: [Arg] , cmdSummary :: String + , cmdSince :: String } deriving (Show) @@ -123,6 +124,7 @@ instance FromJSON Cmds where cmdGroup <- cmd .: "group" cmdRetType <- cmd .:? "returns" cmdSummary <- cmd .: "summary" + cmdSince <- cmd .: "since" cmdArgs <- cmd .:? "arguments" .!= [] <|> error ("failed to parse args: " ++ cmdName) return Cmd{..}) @@ -253,8 +255,12 @@ exportCmdNames Cmd{..} = types `mappend` functions Just (Just (_,ts)) -> ts Just Nothing -> error "unhandled" + dropTrailingDot s = case reverse s of + ('.':rest) -> reverse rest + _ -> s + haddock = mconcat - [ fromString "-- |", fromString cmdSummary + [ fromString "-- |", fromString (dropTrailingDot cmdSummary) , fromString " (" , cmdDescriptionLink cmdName , fromString ")." @@ -267,6 +273,7 @@ exportCmdNames Cmd{..} = types `mappend` functions , fromString "'." ] else mempty + , fromString " Since Redis ", fromString cmdSince ] cmdDescriptionLink :: String -> Builder diff --git a/src/Database/Redis/Commands.hs b/src/Database/Redis/Commands.hs index 5b5213ec..bd30757a 100644 --- a/src/Database/Redis/Commands.hs +++ b/src/Database/Redis/Commands.hs @@ -5,181 +5,181 @@ module Database.Redis.Commands ( -- ** Connection -auth, -- |Authenticate to the server (). -echo, -- |Echo the given string (). -ping, -- |Ping the server (). -quit, -- |Close the connection (). -select, -- |Change the selected database for the current connection (). +auth, -- |Authenticate to the server (). Since Redis 1.0.0 +echo, -- |Echo the given string (). Since Redis 1.0.0 +ping, -- |Ping the server (). Since Redis 1.0.0 +quit, -- |Close the connection (). Since Redis 1.0.0 +select, -- |Change the selected database for the current connection (). Since Redis 1.0.0 -- ** Keys -del, -- |Delete a key (). -dump, -- |Return a serialized version of the value stored at the specified key. (). -exists, -- |Determine if a key exists (). -expire, -- |Set a key's time to live in seconds (). -expireat, -- |Set the expiration for a key as a UNIX timestamp (). -keys, -- |Find all keys matching the given pattern (). -migrate, -- |Atomically transfer a key from a Redis instance to another one. (). -move, -- |Move a key to another database (). -objectRefcount, -- |Inspect the internals of Redis objects (). The Redis command @OBJECT@ is split up into 'objectRefcount', 'objectEncoding', 'objectIdletime'. -objectEncoding, -- |Inspect the internals of Redis objects (). The Redis command @OBJECT@ is split up into 'objectRefcount', 'objectEncoding', 'objectIdletime'. -objectIdletime, -- |Inspect the internals of Redis objects (). The Redis command @OBJECT@ is split up into 'objectRefcount', 'objectEncoding', 'objectIdletime'. -persist, -- |Remove the expiration from a key (). -pexpire, -- |Set a key's time to live in milliseconds (). -pexpireat, -- |Set the expiration for a key as a UNIX timestamp specified in milliseconds (). -pttl, -- |Get the time to live for a key in milliseconds (). -randomkey, -- |Return a random key from the keyspace (). -rename, -- |Rename a key (). -renamenx, -- |Rename a key, only if the new key does not exist (). -restore, -- |Create a key using the provided serialized value, previously obtained using DUMP. (). +del, -- |Delete a key (). Since Redis 1.0.0 +dump, -- |Return a serialized version of the value stored at the specified key (). Since Redis 2.6.0 +exists, -- |Determine if a key exists (). Since Redis 1.0.0 +expire, -- |Set a key's time to live in seconds (). Since Redis 1.0.0 +expireat, -- |Set the expiration for a key as a UNIX timestamp (). Since Redis 1.2.0 +keys, -- |Find all keys matching the given pattern (). Since Redis 1.0.0 +migrate, -- |Atomically transfer a key from a Redis instance to another one (). Since Redis 2.6.0 +move, -- |Move a key to another database (). Since Redis 1.0.0 +objectRefcount, -- |Inspect the internals of Redis objects (). The Redis command @OBJECT@ is split up into 'objectRefcount', 'objectEncoding', 'objectIdletime'. Since Redis 2.2.3 +objectEncoding, -- |Inspect the internals of Redis objects (). The Redis command @OBJECT@ is split up into 'objectRefcount', 'objectEncoding', 'objectIdletime'. Since Redis 2.2.3 +objectIdletime, -- |Inspect the internals of Redis objects (). The Redis command @OBJECT@ is split up into 'objectRefcount', 'objectEncoding', 'objectIdletime'. Since Redis 2.2.3 +persist, -- |Remove the expiration from a key (). Since Redis 2.2.0 +pexpire, -- |Set a key's time to live in milliseconds (). Since Redis 2.6.0 +pexpireat, -- |Set the expiration for a key as a UNIX timestamp specified in milliseconds (). Since Redis 2.6.0 +pttl, -- |Get the time to live for a key in milliseconds (). Since Redis 2.6.0 +randomkey, -- |Return a random key from the keyspace (). Since Redis 1.0.0 +rename, -- |Rename a key (). Since Redis 1.0.0 +renamenx, -- |Rename a key, only if the new key does not exist (). Since Redis 1.0.0 +restore, -- |Create a key using the provided serialized value, previously obtained using DUMP (). Since Redis 2.6.0 SortOpts(..), defaultSortOpts, SortOrder(..), -sort, -- |Sort the elements in a list, set or sorted set (). The Redis command @SORT@ is split up into 'sort', 'sortStore'. -sortStore, -- |Sort the elements in a list, set or sorted set (). The Redis command @SORT@ is split up into 'sort', 'sortStore'. -ttl, -- |Get the time to live for a key (). +sort, -- |Sort the elements in a list, set or sorted set (). The Redis command @SORT@ is split up into 'sort', 'sortStore'. Since Redis 1.0.0 +sortStore, -- |Sort the elements in a list, set or sorted set (). The Redis command @SORT@ is split up into 'sort', 'sortStore'. Since Redis 1.0.0 +ttl, -- |Get the time to live for a key (). Since Redis 1.0.0 RedisType(..), -getType, -- |Determine the type stored at key (). +getType, -- |Determine the type stored at key (). Since Redis 1.0.0 -- ** Hashes -hdel, -- |Delete one or more hash fields (). -hexists, -- |Determine if a hash field exists (). -hget, -- |Get the value of a hash field (). -hgetall, -- |Get all the fields and values in a hash (). -hincrby, -- |Increment the integer value of a hash field by the given number (). -hincrbyfloat, -- |Increment the float value of a hash field by the given amount (). -hkeys, -- |Get all the fields in a hash (). -hlen, -- |Get the number of fields in a hash (). -hmget, -- |Get the values of all the given hash fields (). -hmset, -- |Set multiple hash fields to multiple values (). -hset, -- |Set the string value of a hash field (). -hsetnx, -- |Set the value of a hash field, only if the field does not exist (). -hvals, -- |Get all the values in a hash (). +hdel, -- |Delete one or more hash fields (). Since Redis 2.0.0 +hexists, -- |Determine if a hash field exists (). Since Redis 2.0.0 +hget, -- |Get the value of a hash field (). Since Redis 2.0.0 +hgetall, -- |Get all the fields and values in a hash (). Since Redis 2.0.0 +hincrby, -- |Increment the integer value of a hash field by the given number (). Since Redis 2.0.0 +hincrbyfloat, -- |Increment the float value of a hash field by the given amount (). Since Redis 2.6.0 +hkeys, -- |Get all the fields in a hash (). Since Redis 2.0.0 +hlen, -- |Get the number of fields in a hash (). Since Redis 2.0.0 +hmget, -- |Get the values of all the given hash fields (). Since Redis 2.0.0 +hmset, -- |Set multiple hash fields to multiple values (). Since Redis 2.0.0 +hset, -- |Set the string value of a hash field (). Since Redis 2.0.0 +hsetnx, -- |Set the value of a hash field, only if the field does not exist (). Since Redis 2.0.0 +hvals, -- |Get all the values in a hash (). Since Redis 2.0.0 -- ** HyperLogLogs -pfadd, -- |Adds all the elements arguments to the HyperLogLog data structure stored at the variable name specified as first argument. (). -pfcount, -- |Returns the approximated cardinality for the union of the HyperLogLogs stored in the specified keys. (). -pfmerge, -- |Merge multiple HyperLogLog values into an unique value that will approximate the cardinality of the union of the observed Sets of the source HyperLogLog structures. (). +pfadd, -- |Adds all the elements arguments to the HyperLogLog data structure stored at the variable name specified as first argument (). Since Redis 2.8.9 +pfcount, -- |Returns the approximated cardinality for the union of the HyperLogLogs stored in the specified keys (). Since Redis 2.8.9 +pfmerge, -- |Merge multiple HyperLogLog values into an unique value that will approximate the cardinality of the union of the observed Sets of the source HyperLogLog structures (). Since Redis 2.8.9 -- ** Lists -blpop, -- |Remove and get the first element in a list, or block until one is available (). -brpop, -- |Remove and get the last element in a list, or block until one is available (). -brpoplpush, -- |Pop a value from a list, push it to another list and return it; or block until one is available (). -lindex, -- |Get an element from a list by its index (). -linsertBefore, -- |Insert an element before or after another element in a list (). The Redis command @LINSERT@ is split up into 'linsertBefore', 'linsertAfter'. -linsertAfter, -- |Insert an element before or after another element in a list (). The Redis command @LINSERT@ is split up into 'linsertBefore', 'linsertAfter'. -llen, -- |Get the length of a list (). -lpop, -- |Remove and get the first element in a list (). -lpush, -- |Prepend one or multiple values to a list (). -lpushx, -- |Prepend a value to a list, only if the list exists (). -lrange, -- |Get a range of elements from a list (). -lrem, -- |Remove elements from a list (). -lset, -- |Set the value of an element in a list by its index (). -ltrim, -- |Trim a list to the specified range (). -rpop, -- |Remove and get the last element in a list (). -rpoplpush, -- |Remove the last element in a list, append it to another list and return it (). -rpush, -- |Append one or multiple values to a list (). -rpushx, -- |Append a value to a list, only if the list exists (). +blpop, -- |Remove and get the first element in a list, or block until one is available (). Since Redis 2.0.0 +brpop, -- |Remove and get the last element in a list, or block until one is available (). Since Redis 2.0.0 +brpoplpush, -- |Pop a value from a list, push it to another list and return it; or block until one is available (). Since Redis 2.2.0 +lindex, -- |Get an element from a list by its index (). Since Redis 1.0.0 +linsertBefore, -- |Insert an element before or after another element in a list (). The Redis command @LINSERT@ is split up into 'linsertBefore', 'linsertAfter'. Since Redis 2.2.0 +linsertAfter, -- |Insert an element before or after another element in a list (). The Redis command @LINSERT@ is split up into 'linsertBefore', 'linsertAfter'. Since Redis 2.2.0 +llen, -- |Get the length of a list (). Since Redis 1.0.0 +lpop, -- |Remove and get the first element in a list (). Since Redis 1.0.0 +lpush, -- |Prepend one or multiple values to a list (). Since Redis 1.0.0 +lpushx, -- |Prepend a value to a list, only if the list exists (). Since Redis 2.2.0 +lrange, -- |Get a range of elements from a list (). Since Redis 1.0.0 +lrem, -- |Remove elements from a list (). Since Redis 1.0.0 +lset, -- |Set the value of an element in a list by its index (). Since Redis 1.0.0 +ltrim, -- |Trim a list to the specified range (). Since Redis 1.0.0 +rpop, -- |Remove and get the last element in a list (). Since Redis 1.0.0 +rpoplpush, -- |Remove the last element in a list, append it to another list and return it (). Since Redis 1.2.0 +rpush, -- |Append one or multiple values to a list (). Since Redis 1.0.0 +rpushx, -- |Append a value to a list, only if the list exists (). Since Redis 2.2.0 -- ** Scripting -eval, -- |Execute a Lua script server side (). -evalsha, -- |Execute a Lua script server side (). -scriptExists, -- |Check existence of scripts in the script cache. (). -scriptFlush, -- |Remove all the scripts from the script cache. (). -scriptKill, -- |Kill the script currently in execution. (). -scriptLoad, -- |Load the specified Lua script into the script cache. (). +eval, -- |Execute a Lua script server side (). Since Redis 2.6.0 +evalsha, -- |Execute a Lua script server side (). Since Redis 2.6.0 +scriptExists, -- |Check existence of scripts in the script cache (). Since Redis 2.6.0 +scriptFlush, -- |Remove all the scripts from the script cache (). Since Redis 2.6.0 +scriptKill, -- |Kill the script currently in execution (). Since Redis 2.6.0 +scriptLoad, -- |Load the specified Lua script into the script cache (). Since Redis 2.6.0 -- ** Server -bgrewriteaof, -- |Asynchronously rewrite the append-only file (). -bgsave, -- |Asynchronously save the dataset to disk (). -configGet, -- |Get the value of a configuration parameter (). -configResetstat, -- |Reset the stats returned by INFO (). -configSet, -- |Set a configuration parameter to the given value (). -dbsize, -- |Return the number of keys in the selected database (). -debugObject, -- |Get debugging information about a key (). -flushall, -- |Remove all keys from all databases (). -flushdb, -- |Remove all keys from the current database (). -info, -- |Get information and statistics about the server (). -lastsave, -- |Get the UNIX time stamp of the last successful save to disk (). -save, -- |Synchronously save the dataset to disk (). -slaveof, -- |Make the server a slave of another instance, or promote it as master (). +bgrewriteaof, -- |Asynchronously rewrite the append-only file (). Since Redis 1.0.0 +bgsave, -- |Asynchronously save the dataset to disk (). Since Redis 1.0.0 +configGet, -- |Get the value of a configuration parameter (). Since Redis 2.0.0 +configResetstat, -- |Reset the stats returned by INFO (). Since Redis 2.0.0 +configSet, -- |Set a configuration parameter to the given value (). Since Redis 2.0.0 +dbsize, -- |Return the number of keys in the selected database (). Since Redis 1.0.0 +debugObject, -- |Get debugging information about a key (). Since Redis 1.0.0 +flushall, -- |Remove all keys from all databases (). Since Redis 1.0.0 +flushdb, -- |Remove all keys from the current database (). Since Redis 1.0.0 +info, -- |Get information and statistics about the server (). Since Redis 1.0.0 +lastsave, -- |Get the UNIX time stamp of the last successful save to disk (). Since Redis 1.0.0 +save, -- |Synchronously save the dataset to disk (). Since Redis 1.0.0 +slaveof, -- |Make the server a slave of another instance, or promote it as master (). Since Redis 1.0.0 Slowlog(..), -slowlogGet, -- |Manages the Redis slow queries log (). The Redis command @SLOWLOG@ is split up into 'slowlogGet', 'slowlogLen', 'slowlogReset'. -slowlogLen, -- |Manages the Redis slow queries log (). The Redis command @SLOWLOG@ is split up into 'slowlogGet', 'slowlogLen', 'slowlogReset'. -slowlogReset, -- |Manages the Redis slow queries log (). The Redis command @SLOWLOG@ is split up into 'slowlogGet', 'slowlogLen', 'slowlogReset'. -time, -- |Return the current server time (). +slowlogGet, -- |Manages the Redis slow queries log (). The Redis command @SLOWLOG@ is split up into 'slowlogGet', 'slowlogLen', 'slowlogReset'. Since Redis 2.2.12 +slowlogLen, -- |Manages the Redis slow queries log (). The Redis command @SLOWLOG@ is split up into 'slowlogGet', 'slowlogLen', 'slowlogReset'. Since Redis 2.2.12 +slowlogReset, -- |Manages the Redis slow queries log (). The Redis command @SLOWLOG@ is split up into 'slowlogGet', 'slowlogLen', 'slowlogReset'. Since Redis 2.2.12 +time, -- |Return the current server time (). Since Redis 2.6.0 -- ** Sets -sadd, -- |Add one or more members to a set (). -scard, -- |Get the number of members in a set (). -sdiff, -- |Subtract multiple sets (). -sdiffstore, -- |Subtract multiple sets and store the resulting set in a key (). -sinter, -- |Intersect multiple sets (). -sinterstore, -- |Intersect multiple sets and store the resulting set in a key (). -sismember, -- |Determine if a given value is a member of a set (). -smembers, -- |Get all the members in a set (). -smove, -- |Move a member from one set to another (). -spop, -- |Remove and return a random member from a set (). -srandmember, -- |Get a random member from a set (). -srem, -- |Remove one or more members from a set (). -sunion, -- |Add multiple sets (). -sunionstore, -- |Add multiple sets and store the resulting set in a key (). +sadd, -- |Add one or more members to a set (). Since Redis 1.0.0 +scard, -- |Get the number of members in a set (). Since Redis 1.0.0 +sdiff, -- |Subtract multiple sets (). Since Redis 1.0.0 +sdiffstore, -- |Subtract multiple sets and store the resulting set in a key (). Since Redis 1.0.0 +sinter, -- |Intersect multiple sets (). Since Redis 1.0.0 +sinterstore, -- |Intersect multiple sets and store the resulting set in a key (). Since Redis 1.0.0 +sismember, -- |Determine if a given value is a member of a set (). Since Redis 1.0.0 +smembers, -- |Get all the members in a set (). Since Redis 1.0.0 +smove, -- |Move a member from one set to another (). Since Redis 1.0.0 +spop, -- |Remove and return a random member from a set (). Since Redis 1.0.0 +srandmember, -- |Get a random member from a set (). Since Redis 1.0.0 +srem, -- |Remove one or more members from a set (). Since Redis 1.0.0 +sunion, -- |Add multiple sets (). Since Redis 1.0.0 +sunionstore, -- |Add multiple sets and store the resulting set in a key (). Since Redis 1.0.0 -- ** Sorted Sets -zadd, -- |Add one or more members to a sorted set, or update its score if it already exists (). -zcard, -- |Get the number of members in a sorted set (). -zcount, -- |Count the members in a sorted set with scores within the given values (). -zincrby, -- |Increment the score of a member in a sorted set (). +zadd, -- |Add one or more members to a sorted set, or update its score if it already exists (). Since Redis 1.2.0 +zcard, -- |Get the number of members in a sorted set (). Since Redis 1.2.0 +zcount, -- |Count the members in a sorted set with scores within the given values (). Since Redis 2.0.0 +zincrby, -- |Increment the score of a member in a sorted set (). Since Redis 1.2.0 Aggregate(..), -zinterstore, -- |Intersect multiple sorted sets and store the resulting sorted set in a new key (). The Redis command @ZINTERSTORE@ is split up into 'zinterstore', 'zinterstoreWeights'. -zinterstoreWeights, -- |Intersect multiple sorted sets and store the resulting sorted set in a new key (). The Redis command @ZINTERSTORE@ is split up into 'zinterstore', 'zinterstoreWeights'. -zrange, -- |Return a range of members in a sorted set, by index (). The Redis command @ZRANGE@ is split up into 'zrange', 'zrangeWithscores'. -zrangeWithscores, -- |Return a range of members in a sorted set, by index (). The Redis command @ZRANGE@ is split up into 'zrange', 'zrangeWithscores'. -zrangebyscore, -- |Return a range of members in a sorted set, by score (). The Redis command @ZRANGEBYSCORE@ is split up into 'zrangebyscore', 'zrangebyscoreWithscores', 'zrangebyscoreLimit', 'zrangebyscoreWithscoresLimit'. -zrangebyscoreWithscores, -- |Return a range of members in a sorted set, by score (). The Redis command @ZRANGEBYSCORE@ is split up into 'zrangebyscore', 'zrangebyscoreWithscores', 'zrangebyscoreLimit', 'zrangebyscoreWithscoresLimit'. -zrangebyscoreLimit, -- |Return a range of members in a sorted set, by score (). The Redis command @ZRANGEBYSCORE@ is split up into 'zrangebyscore', 'zrangebyscoreWithscores', 'zrangebyscoreLimit', 'zrangebyscoreWithscoresLimit'. -zrangebyscoreWithscoresLimit, -- |Return a range of members in a sorted set, by score (). The Redis command @ZRANGEBYSCORE@ is split up into 'zrangebyscore', 'zrangebyscoreWithscores', 'zrangebyscoreLimit', 'zrangebyscoreWithscoresLimit'. -zrank, -- |Determine the index of a member in a sorted set (). -zrem, -- |Remove one or more members from a sorted set (). -zremrangebyrank, -- |Remove all members in a sorted set within the given indexes (). -zremrangebyscore, -- |Remove all members in a sorted set within the given scores (). -zrevrange, -- |Return a range of members in a sorted set, by index, with scores ordered from high to low (). The Redis command @ZREVRANGE@ is split up into 'zrevrange', 'zrevrangeWithscores'. -zrevrangeWithscores, -- |Return a range of members in a sorted set, by index, with scores ordered from high to low (). The Redis command @ZREVRANGE@ is split up into 'zrevrange', 'zrevrangeWithscores'. -zrevrangebyscore, -- |Return a range of members in a sorted set, by score, with scores ordered from high to low (). The Redis command @ZREVRANGEBYSCORE@ is split up into 'zrevrangebyscore', 'zrevrangebyscoreWithscores', 'zrevrangebyscoreLimit', 'zrevrangebyscoreWithscoresLimit'. -zrevrangebyscoreWithscores, -- |Return a range of members in a sorted set, by score, with scores ordered from high to low (). The Redis command @ZREVRANGEBYSCORE@ is split up into 'zrevrangebyscore', 'zrevrangebyscoreWithscores', 'zrevrangebyscoreLimit', 'zrevrangebyscoreWithscoresLimit'. -zrevrangebyscoreLimit, -- |Return a range of members in a sorted set, by score, with scores ordered from high to low (). The Redis command @ZREVRANGEBYSCORE@ is split up into 'zrevrangebyscore', 'zrevrangebyscoreWithscores', 'zrevrangebyscoreLimit', 'zrevrangebyscoreWithscoresLimit'. -zrevrangebyscoreWithscoresLimit, -- |Return a range of members in a sorted set, by score, with scores ordered from high to low (). The Redis command @ZREVRANGEBYSCORE@ is split up into 'zrevrangebyscore', 'zrevrangebyscoreWithscores', 'zrevrangebyscoreLimit', 'zrevrangebyscoreWithscoresLimit'. -zrevrank, -- |Determine the index of a member in a sorted set, with scores ordered from high to low (). -zscore, -- |Get the score associated with the given member in a sorted set (). -zunionstore, -- |Add multiple sorted sets and store the resulting sorted set in a new key (). The Redis command @ZUNIONSTORE@ is split up into 'zunionstore', 'zunionstoreWeights'. -zunionstoreWeights, -- |Add multiple sorted sets and store the resulting sorted set in a new key (). The Redis command @ZUNIONSTORE@ is split up into 'zunionstore', 'zunionstoreWeights'. +zinterstore, -- |Intersect multiple sorted sets and store the resulting sorted set in a new key (). The Redis command @ZINTERSTORE@ is split up into 'zinterstore', 'zinterstoreWeights'. Since Redis 2.0.0 +zinterstoreWeights, -- |Intersect multiple sorted sets and store the resulting sorted set in a new key (). The Redis command @ZINTERSTORE@ is split up into 'zinterstore', 'zinterstoreWeights'. Since Redis 2.0.0 +zrange, -- |Return a range of members in a sorted set, by index (). The Redis command @ZRANGE@ is split up into 'zrange', 'zrangeWithscores'. Since Redis 1.2.0 +zrangeWithscores, -- |Return a range of members in a sorted set, by index (). The Redis command @ZRANGE@ is split up into 'zrange', 'zrangeWithscores'. Since Redis 1.2.0 +zrangebyscore, -- |Return a range of members in a sorted set, by score (). The Redis command @ZRANGEBYSCORE@ is split up into 'zrangebyscore', 'zrangebyscoreWithscores', 'zrangebyscoreLimit', 'zrangebyscoreWithscoresLimit'. Since Redis 1.0.5 +zrangebyscoreWithscores, -- |Return a range of members in a sorted set, by score (). The Redis command @ZRANGEBYSCORE@ is split up into 'zrangebyscore', 'zrangebyscoreWithscores', 'zrangebyscoreLimit', 'zrangebyscoreWithscoresLimit'. Since Redis 1.0.5 +zrangebyscoreLimit, -- |Return a range of members in a sorted set, by score (). The Redis command @ZRANGEBYSCORE@ is split up into 'zrangebyscore', 'zrangebyscoreWithscores', 'zrangebyscoreLimit', 'zrangebyscoreWithscoresLimit'. Since Redis 1.0.5 +zrangebyscoreWithscoresLimit, -- |Return a range of members in a sorted set, by score (). The Redis command @ZRANGEBYSCORE@ is split up into 'zrangebyscore', 'zrangebyscoreWithscores', 'zrangebyscoreLimit', 'zrangebyscoreWithscoresLimit'. Since Redis 1.0.5 +zrank, -- |Determine the index of a member in a sorted set (). Since Redis 2.0.0 +zrem, -- |Remove one or more members from a sorted set (). Since Redis 1.2.0 +zremrangebyrank, -- |Remove all members in a sorted set within the given indexes (). Since Redis 2.0.0 +zremrangebyscore, -- |Remove all members in a sorted set within the given scores (). Since Redis 1.2.0 +zrevrange, -- |Return a range of members in a sorted set, by index, with scores ordered from high to low (). The Redis command @ZREVRANGE@ is split up into 'zrevrange', 'zrevrangeWithscores'. Since Redis 1.2.0 +zrevrangeWithscores, -- |Return a range of members in a sorted set, by index, with scores ordered from high to low (). The Redis command @ZREVRANGE@ is split up into 'zrevrange', 'zrevrangeWithscores'. Since Redis 1.2.0 +zrevrangebyscore, -- |Return a range of members in a sorted set, by score, with scores ordered from high to low (). The Redis command @ZREVRANGEBYSCORE@ is split up into 'zrevrangebyscore', 'zrevrangebyscoreWithscores', 'zrevrangebyscoreLimit', 'zrevrangebyscoreWithscoresLimit'. Since Redis 2.2.0 +zrevrangebyscoreWithscores, -- |Return a range of members in a sorted set, by score, with scores ordered from high to low (). The Redis command @ZREVRANGEBYSCORE@ is split up into 'zrevrangebyscore', 'zrevrangebyscoreWithscores', 'zrevrangebyscoreLimit', 'zrevrangebyscoreWithscoresLimit'. Since Redis 2.2.0 +zrevrangebyscoreLimit, -- |Return a range of members in a sorted set, by score, with scores ordered from high to low (). The Redis command @ZREVRANGEBYSCORE@ is split up into 'zrevrangebyscore', 'zrevrangebyscoreWithscores', 'zrevrangebyscoreLimit', 'zrevrangebyscoreWithscoresLimit'. Since Redis 2.2.0 +zrevrangebyscoreWithscoresLimit, -- |Return a range of members in a sorted set, by score, with scores ordered from high to low (). The Redis command @ZREVRANGEBYSCORE@ is split up into 'zrevrangebyscore', 'zrevrangebyscoreWithscores', 'zrevrangebyscoreLimit', 'zrevrangebyscoreWithscoresLimit'. Since Redis 2.2.0 +zrevrank, -- |Determine the index of a member in a sorted set, with scores ordered from high to low (). Since Redis 2.0.0 +zscore, -- |Get the score associated with the given member in a sorted set (). Since Redis 1.2.0 +zunionstore, -- |Add multiple sorted sets and store the resulting sorted set in a new key (). The Redis command @ZUNIONSTORE@ is split up into 'zunionstore', 'zunionstoreWeights'. Since Redis 2.0.0 +zunionstoreWeights, -- |Add multiple sorted sets and store the resulting sorted set in a new key (). The Redis command @ZUNIONSTORE@ is split up into 'zunionstore', 'zunionstoreWeights'. Since Redis 2.0.0 -- ** Strings -append, -- |Append a value to a key (). -bitcount, -- |Count set bits in a string (). The Redis command @BITCOUNT@ is split up into 'bitcount', 'bitcountRange'. -bitcountRange, -- |Count set bits in a string (). The Redis command @BITCOUNT@ is split up into 'bitcount', 'bitcountRange'. -bitopAnd, -- |Perform bitwise operations between strings (). The Redis command @BITOP@ is split up into 'bitopAnd', 'bitopOr', 'bitopXor', 'bitopNot'. -bitopOr, -- |Perform bitwise operations between strings (). The Redis command @BITOP@ is split up into 'bitopAnd', 'bitopOr', 'bitopXor', 'bitopNot'. -bitopXor, -- |Perform bitwise operations between strings (). The Redis command @BITOP@ is split up into 'bitopAnd', 'bitopOr', 'bitopXor', 'bitopNot'. -bitopNot, -- |Perform bitwise operations between strings (). The Redis command @BITOP@ is split up into 'bitopAnd', 'bitopOr', 'bitopXor', 'bitopNot'. -decr, -- |Decrement the integer value of a key by one (). -decrby, -- |Decrement the integer value of a key by the given number (). -get, -- |Get the value of a key (). -getbit, -- |Returns the bit value at offset in the string value stored at key (). -getrange, -- |Get a substring of the string stored at a key (). -getset, -- |Set the string value of a key and return its old value (). -incr, -- |Increment the integer value of a key by one (). -incrby, -- |Increment the integer value of a key by the given amount (). -incrbyfloat, -- |Increment the float value of a key by the given amount (). -mget, -- |Get the values of all the given keys (). -mset, -- |Set multiple keys to multiple values (). -msetnx, -- |Set multiple keys to multiple values, only if none of the keys exist (). -psetex, -- |Set the value and expiration in milliseconds of a key (). -set, -- |Set the string value of a key (). -setbit, -- |Sets or clears the bit at offset in the string value stored at key (). -setex, -- |Set the value and expiration of a key (). -setnx, -- |Set the value of a key, only if the key does not exist (). -setrange, -- |Overwrite part of a string at key starting at the specified offset (). -strlen, -- |Get the length of the value stored in a key (). +append, -- |Append a value to a key (). Since Redis 2.0.0 +bitcount, -- |Count set bits in a string (). The Redis command @BITCOUNT@ is split up into 'bitcount', 'bitcountRange'. Since Redis 2.6.0 +bitcountRange, -- |Count set bits in a string (). The Redis command @BITCOUNT@ is split up into 'bitcount', 'bitcountRange'. Since Redis 2.6.0 +bitopAnd, -- |Perform bitwise operations between strings (). The Redis command @BITOP@ is split up into 'bitopAnd', 'bitopOr', 'bitopXor', 'bitopNot'. Since Redis 2.6.0 +bitopOr, -- |Perform bitwise operations between strings (). The Redis command @BITOP@ is split up into 'bitopAnd', 'bitopOr', 'bitopXor', 'bitopNot'. Since Redis 2.6.0 +bitopXor, -- |Perform bitwise operations between strings (). The Redis command @BITOP@ is split up into 'bitopAnd', 'bitopOr', 'bitopXor', 'bitopNot'. Since Redis 2.6.0 +bitopNot, -- |Perform bitwise operations between strings (). The Redis command @BITOP@ is split up into 'bitopAnd', 'bitopOr', 'bitopXor', 'bitopNot'. Since Redis 2.6.0 +decr, -- |Decrement the integer value of a key by one (). Since Redis 1.0.0 +decrby, -- |Decrement the integer value of a key by the given number (). Since Redis 1.0.0 +get, -- |Get the value of a key (). Since Redis 1.0.0 +getbit, -- |Returns the bit value at offset in the string value stored at key (). Since Redis 2.2.0 +getrange, -- |Get a substring of the string stored at a key (). Since Redis 2.4.0 +getset, -- |Set the string value of a key and return its old value (). Since Redis 1.0.0 +incr, -- |Increment the integer value of a key by one (). Since Redis 1.0.0 +incrby, -- |Increment the integer value of a key by the given amount (). Since Redis 1.0.0 +incrbyfloat, -- |Increment the float value of a key by the given amount (). Since Redis 2.6.0 +mget, -- |Get the values of all the given keys (). Since Redis 1.0.0 +mset, -- |Set multiple keys to multiple values (). Since Redis 1.0.1 +msetnx, -- |Set multiple keys to multiple values, only if none of the keys exist (). Since Redis 1.0.1 +psetex, -- |Set the value and expiration in milliseconds of a key (). Since Redis 2.6.0 +set, -- |Set the string value of a key (). Since Redis 1.0.0 +setbit, -- |Sets or clears the bit at offset in the string value stored at key (). Since Redis 2.2.0 +setex, -- |Set the value and expiration of a key (). Since Redis 2.0.0 +setnx, -- |Set the value of a key, only if the key does not exist (). Since Redis 1.0.0 +setrange, -- |Overwrite part of a string at key starting at the specified offset (). Since Redis 2.2.0 +strlen, -- |Get the length of the value stored in a key (). Since Redis 2.2.0 -- * Unimplemented Commands -- |These commands are not implemented, as of now. Library