2012-04-03 09:29:47 -04:00
|
|
|
/* Automatically generated by utils/generate-command-help.rb, do not edit. */
|
2010-11-16 08:50:26 -05:00
|
|
|
|
2010-11-28 15:37:19 -05:00
|
|
|
#ifndef __REDIS_HELP_H
|
|
|
|
#define __REDIS_HELP_H
|
2010-11-16 08:50:26 -05:00
|
|
|
|
2010-11-28 15:37:19 -05:00
|
|
|
static char *commandGroups[] = {
|
|
|
|
"generic",
|
|
|
|
"string",
|
|
|
|
"list",
|
|
|
|
"set",
|
|
|
|
"sorted_set",
|
|
|
|
"hash",
|
|
|
|
"pubsub",
|
|
|
|
"transactions",
|
|
|
|
"connection",
|
2012-04-03 09:29:47 -04:00
|
|
|
"server",
|
2014-04-22 10:14:38 -04:00
|
|
|
"scripting",
|
|
|
|
"hyperloglog"
|
2010-11-16 08:50:26 -05:00
|
|
|
};
|
|
|
|
|
2010-11-28 15:37:19 -05:00
|
|
|
struct commandHelp {
|
2010-11-16 08:50:26 -05:00
|
|
|
char *name;
|
|
|
|
char *params;
|
|
|
|
char *summary;
|
2010-11-28 15:37:19 -05:00
|
|
|
int group;
|
2010-11-16 08:50:26 -05:00
|
|
|
char *since;
|
2010-11-28 15:37:19 -05:00
|
|
|
} commandHelp[] = {
|
|
|
|
{ "APPEND",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key value",
|
|
|
|
"Append a value to a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "AUTH",
|
2010-11-28 11:45:58 -05:00
|
|
|
"password",
|
|
|
|
"Authenticate to the server",
|
2010-11-28 15:37:19 -05:00
|
|
|
8,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "BGREWRITEAOF",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Asynchronously rewrite the append-only file",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "BGSAVE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Asynchronously save the dataset to disk",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2012-10-30 13:57:20 -04:00
|
|
|
{ "BITCOUNT",
|
|
|
|
"key [start] [end]",
|
|
|
|
"Count set bits in a string",
|
|
|
|
1,
|
|
|
|
"2.6.0" },
|
|
|
|
{ "BITOP",
|
|
|
|
"operation destkey key [key ...]",
|
|
|
|
"Perform bitwise operations between strings",
|
|
|
|
1,
|
|
|
|
"2.6.0" },
|
2014-04-22 10:14:38 -04:00
|
|
|
{ "BITPOS",
|
|
|
|
"key bit [start] [end]",
|
|
|
|
"Find first bit set or clear in a string",
|
|
|
|
1,
|
|
|
|
"2.8.7" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "BLPOP",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key [key ...] timeout",
|
|
|
|
"Remove and get the first element in a list, or block until one is available",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "BRPOP",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key [key ...] timeout",
|
|
|
|
"Remove and get the last element in a list, or block until one is available",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-12-15 11:39:40 -05:00
|
|
|
{ "BRPOPLPUSH",
|
|
|
|
"source destination timeout",
|
|
|
|
"Pop a value from a list, push it to another list and return it; or block until one is available",
|
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.2.0" },
|
2013-05-14 05:22:50 -04:00
|
|
|
{ "CLIENT GETNAME",
|
|
|
|
"-",
|
|
|
|
"Get the current connection name",
|
|
|
|
9,
|
|
|
|
"2.6.9" },
|
2012-10-30 13:57:20 -04:00
|
|
|
{ "CLIENT KILL",
|
|
|
|
"ip:port",
|
|
|
|
"Kill the connection of a client",
|
|
|
|
9,
|
|
|
|
"2.4.0" },
|
|
|
|
{ "CLIENT LIST",
|
|
|
|
"-",
|
|
|
|
"Get the list of client connections",
|
|
|
|
9,
|
|
|
|
"2.4.0" },
|
2014-04-22 10:14:38 -04:00
|
|
|
{ "CLIENT PAUSE",
|
|
|
|
"timeout",
|
|
|
|
"Stop processing commands from clients for some time",
|
|
|
|
9,
|
|
|
|
"2.9.50" },
|
2013-05-14 05:22:50 -04:00
|
|
|
{ "CLIENT SETNAME",
|
|
|
|
"connection-name",
|
|
|
|
"Set the current connection name",
|
|
|
|
9,
|
|
|
|
"2.6.9" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "CONFIG GET",
|
2010-11-28 11:45:58 -05:00
|
|
|
"parameter",
|
|
|
|
"Get the value of a configuration parameter",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-12-15 11:39:40 -05:00
|
|
|
{ "CONFIG RESETSTAT",
|
|
|
|
"-",
|
|
|
|
"Reset the stats returned by INFO",
|
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2014-04-22 10:14:38 -04:00
|
|
|
{ "CONFIG REWRITE",
|
|
|
|
"-",
|
|
|
|
"Rewrite the configuration file with the in memory configuration",
|
|
|
|
9,
|
|
|
|
"2.8.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "CONFIG SET",
|
2010-11-28 11:45:58 -05:00
|
|
|
"parameter value",
|
|
|
|
"Set a configuration parameter to the given value",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "DBSIZE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Return the number of keys in the selected database",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "DEBUG OBJECT",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Get debugging information about a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "DEBUG SEGFAULT",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Make the server crash",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "DECR",
|
2010-12-15 11:39:40 -05:00
|
|
|
"key",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Decrement the integer value of a key by one",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "DECRBY",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key decrement",
|
|
|
|
"Decrement the integer value of a key by the given number",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "DEL",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key [key ...]",
|
|
|
|
"Delete a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
0,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "DISCARD",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Discard all commands issued after MULTI",
|
2010-11-28 15:37:19 -05:00
|
|
|
7,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
|
|
|
{ "DUMP",
|
|
|
|
"key",
|
2012-10-30 13:57:20 -04:00
|
|
|
"Return a serialized version of the value stored at the specified key.",
|
2012-04-03 09:29:47 -04:00
|
|
|
0,
|
|
|
|
"2.6.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ECHO",
|
2010-11-28 11:45:58 -05:00
|
|
|
"message",
|
|
|
|
"Echo the given string",
|
2010-11-28 15:37:19 -05:00
|
|
|
8,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
|
|
|
{ "EVAL",
|
|
|
|
"script numkeys key [key ...] arg [arg ...]",
|
|
|
|
"Execute a Lua script server side",
|
|
|
|
10,
|
|
|
|
"2.6.0" },
|
2012-10-30 13:57:20 -04:00
|
|
|
{ "EVALSHA",
|
|
|
|
"sha1 numkeys key [key ...] arg [arg ...]",
|
|
|
|
"Execute a Lua script server side",
|
|
|
|
10,
|
|
|
|
"2.6.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "EXEC",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Execute all commands issued after MULTI",
|
2010-11-28 15:37:19 -05:00
|
|
|
7,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "EXISTS",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Determine if a key exists",
|
2012-04-03 09:29:47 -04:00
|
|
|
0,
|
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "EXPIRE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key seconds",
|
|
|
|
"Set a key's time to live in seconds",
|
2010-11-28 15:37:19 -05:00
|
|
|
0,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "EXPIREAT",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key timestamp",
|
|
|
|
"Set the expiration for a key as a UNIX timestamp",
|
2010-11-28 15:37:19 -05:00
|
|
|
0,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "FLUSHALL",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Remove all keys from all databases",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "FLUSHDB",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Remove all keys from the current database",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "GET",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Get the value of a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-12-15 11:39:40 -05:00
|
|
|
{ "GETBIT",
|
|
|
|
"key offset",
|
|
|
|
"Returns the bit value at offset in the string value stored at key",
|
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.2.0" },
|
|
|
|
{ "GETRANGE",
|
|
|
|
"key start end",
|
|
|
|
"Get a substring of the string stored at a key",
|
|
|
|
1,
|
|
|
|
"2.4.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "GETSET",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key value",
|
|
|
|
"Set the string value of a key and return its old value",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "HDEL",
|
2012-04-03 09:29:47 -04:00
|
|
|
"key field [field ...]",
|
|
|
|
"Delete one or more hash fields",
|
2010-11-28 15:37:19 -05:00
|
|
|
5,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "HEXISTS",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key field",
|
|
|
|
"Determine if a hash field exists",
|
2010-11-28 15:37:19 -05:00
|
|
|
5,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "HGET",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key field",
|
|
|
|
"Get the value of a hash field",
|
2010-11-28 15:37:19 -05:00
|
|
|
5,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "HGETALL",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Get all the fields and values in a hash",
|
2010-11-28 15:37:19 -05:00
|
|
|
5,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "HINCRBY",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key field increment",
|
|
|
|
"Increment the integer value of a hash field by the given number",
|
2010-11-28 15:37:19 -05:00
|
|
|
5,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
|
|
|
{ "HINCRBYFLOAT",
|
|
|
|
"key field increment",
|
|
|
|
"Increment the float value of a hash field by the given amount",
|
|
|
|
5,
|
|
|
|
"2.6.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "HKEYS",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Get all the fields in a hash",
|
2010-11-28 15:37:19 -05:00
|
|
|
5,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "HLEN",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Get the number of fields in a hash",
|
2010-11-28 15:37:19 -05:00
|
|
|
5,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "HMGET",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key field [field ...]",
|
|
|
|
"Get the values of all the given hash fields",
|
2010-11-28 15:37:19 -05:00
|
|
|
5,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "HMSET",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key field value [field value ...]",
|
|
|
|
"Set multiple hash fields to multiple values",
|
2010-11-28 15:37:19 -05:00
|
|
|
5,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2014-04-22 10:14:38 -04:00
|
|
|
{ "HSCAN",
|
|
|
|
"key cursor [MATCH pattern] [COUNT count]",
|
|
|
|
"Incrementally iterate hash fields and associated values",
|
|
|
|
5,
|
|
|
|
"2.8.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "HSET",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key field value",
|
|
|
|
"Set the string value of a hash field",
|
2010-11-28 15:37:19 -05:00
|
|
|
5,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "HSETNX",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key field value",
|
|
|
|
"Set the value of a hash field, only if the field does not exist",
|
2010-11-28 15:37:19 -05:00
|
|
|
5,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "HVALS",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Get all the values in a hash",
|
2010-11-28 15:37:19 -05:00
|
|
|
5,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "INCR",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Increment the integer value of a key by one",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "INCRBY",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key increment",
|
2012-04-03 09:29:47 -04:00
|
|
|
"Increment the integer value of a key by the given amount",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
|
|
|
{ "INCRBYFLOAT",
|
|
|
|
"key increment",
|
|
|
|
"Increment the float value of a key by the given amount",
|
|
|
|
1,
|
|
|
|
"2.6.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "INFO",
|
2013-05-14 05:22:50 -04:00
|
|
|
"[section]",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Get information and statistics about the server",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "KEYS",
|
2010-11-28 11:45:58 -05:00
|
|
|
"pattern",
|
|
|
|
"Find all keys matching the given pattern",
|
2010-11-28 15:37:19 -05:00
|
|
|
0,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "LASTSAVE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Get the UNIX time stamp of the last successful save to disk",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "LINDEX",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key index",
|
|
|
|
"Get an element from a list by its index",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "LINSERT",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key BEFORE|AFTER pivot value",
|
|
|
|
"Insert an element before or after another element in a list",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "LLEN",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Get the length of a list",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "LPOP",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Remove and get the first element in a list",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "LPUSH",
|
2012-04-03 09:29:47 -04:00
|
|
|
"key value [value ...]",
|
|
|
|
"Prepend one or multiple values to a list",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "LPUSHX",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key value",
|
|
|
|
"Prepend a value to a list, only if the list exists",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "LRANGE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key start stop",
|
|
|
|
"Get a range of elements from a list",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "LREM",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key count value",
|
|
|
|
"Remove elements from a list",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "LSET",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key index value",
|
|
|
|
"Set the value of an element in a list by its index",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "LTRIM",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key start stop",
|
|
|
|
"Trim a list to the specified range",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "MGET",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key [key ...]",
|
|
|
|
"Get the values of all the given keys",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
|
|
|
{ "MIGRATE",
|
2014-04-22 10:14:38 -04:00
|
|
|
"host port key destination-db timeout [COPY] [REPLACE]",
|
2012-04-03 09:29:47 -04:00
|
|
|
"Atomically transfer a key from a Redis instance to another one.",
|
|
|
|
0,
|
|
|
|
"2.6.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "MONITOR",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Listen for all requests received by the server in real time",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "MOVE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key db",
|
|
|
|
"Move a key to another database",
|
2010-11-28 15:37:19 -05:00
|
|
|
0,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "MSET",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key value [key value ...]",
|
|
|
|
"Set multiple keys to multiple values",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.1" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "MSETNX",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key value [key value ...]",
|
|
|
|
"Set multiple keys to multiple values, only if none of the keys exist",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.1" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "MULTI",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Mark the start of a transaction block",
|
2010-11-28 15:37:19 -05:00
|
|
|
7,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.2.0" },
|
|
|
|
{ "OBJECT",
|
|
|
|
"subcommand [arguments [arguments ...]]",
|
|
|
|
"Inspect the internals of Redis objects",
|
|
|
|
0,
|
|
|
|
"2.2.3" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "PERSIST",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Remove the expiration from a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
0,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.2.0" },
|
|
|
|
{ "PEXPIRE",
|
|
|
|
"key milliseconds",
|
|
|
|
"Set a key's time to live in milliseconds",
|
|
|
|
0,
|
|
|
|
"2.6.0" },
|
|
|
|
{ "PEXPIREAT",
|
2012-04-27 09:57:17 -04:00
|
|
|
"key milliseconds-timestamp",
|
2012-04-03 09:29:47 -04:00
|
|
|
"Set the expiration for a key as a UNIX timestamp specified in milliseconds",
|
|
|
|
0,
|
|
|
|
"2.6.0" },
|
2014-04-22 10:14:38 -04:00
|
|
|
{ "PFADD",
|
|
|
|
"key element [element ...]",
|
|
|
|
"Adds the specified elements to the specified HyperLogLog.",
|
|
|
|
11,
|
|
|
|
"2.8.9" },
|
|
|
|
{ "PFCOUNT",
|
|
|
|
"key [key ...]",
|
|
|
|
"Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).",
|
|
|
|
11,
|
|
|
|
"2.8.9" },
|
|
|
|
{ "PFMERGE",
|
|
|
|
"destkey sourcekey [sourcekey ...]",
|
|
|
|
"Merge N different HyperLogLogs into a single one.",
|
|
|
|
11,
|
|
|
|
"2.8.9" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "PING",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Ping the server",
|
2010-11-28 15:37:19 -05:00
|
|
|
8,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
|
|
|
{ "PSETEX",
|
|
|
|
"key milliseconds value",
|
|
|
|
"Set the value and expiration in milliseconds of a key",
|
|
|
|
1,
|
|
|
|
"2.6.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "PSUBSCRIBE",
|
2012-04-03 09:29:47 -04:00
|
|
|
"pattern [pattern ...]",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Listen for messages published to channels matching the given patterns",
|
2010-11-28 15:37:19 -05:00
|
|
|
6,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
|
|
|
{ "PTTL",
|
|
|
|
"key",
|
|
|
|
"Get the time to live for a key in milliseconds",
|
|
|
|
0,
|
|
|
|
"2.6.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "PUBLISH",
|
2010-11-28 11:45:58 -05:00
|
|
|
"channel message",
|
|
|
|
"Post a message to a channel",
|
2010-11-28 15:37:19 -05:00
|
|
|
6,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2014-04-22 10:14:38 -04:00
|
|
|
{ "PUBSUB",
|
|
|
|
"subcommand [argument [argument ...]]",
|
|
|
|
"Inspect the state of the Pub/Sub subsystem",
|
|
|
|
6,
|
|
|
|
"2.8.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "PUNSUBSCRIBE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"[pattern [pattern ...]]",
|
|
|
|
"Stop listening for messages posted to channels matching the given patterns",
|
2010-11-28 15:37:19 -05:00
|
|
|
6,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "QUIT",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Close the connection",
|
2010-11-28 15:37:19 -05:00
|
|
|
8,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "RANDOMKEY",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Return a random key from the keyspace",
|
2010-11-28 15:37:19 -05:00
|
|
|
0,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "RENAME",
|
2010-12-15 11:39:40 -05:00
|
|
|
"key newkey",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Rename a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
0,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "RENAMENX",
|
2010-12-15 11:39:40 -05:00
|
|
|
"key newkey",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Rename a key, only if the new key does not exist",
|
2010-11-28 15:37:19 -05:00
|
|
|
0,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
|
|
|
{ "RESTORE",
|
2012-04-27 09:57:17 -04:00
|
|
|
"key ttl serialized-value",
|
2012-04-03 09:29:47 -04:00
|
|
|
"Create a key using the provided serialized value, previously obtained using DUMP.",
|
|
|
|
0,
|
|
|
|
"2.6.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "RPOP",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Remove and get the last element in a list",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "RPOPLPUSH",
|
2010-11-28 11:45:58 -05:00
|
|
|
"source destination",
|
|
|
|
"Remove the last element in a list, append it to another list and return it",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "RPUSH",
|
2012-04-03 09:29:47 -04:00
|
|
|
"key value [value ...]",
|
|
|
|
"Append one or multiple values to a list",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "RPUSHX",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key value",
|
|
|
|
"Append a value to a list, only if the list exists",
|
2010-11-28 15:37:19 -05:00
|
|
|
2,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SADD",
|
2012-04-03 09:29:47 -04:00
|
|
|
"key member [member ...]",
|
|
|
|
"Add one or more members to a set",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SAVE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Synchronously save the dataset to disk",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2014-04-22 10:14:38 -04:00
|
|
|
{ "SCAN",
|
|
|
|
"cursor [MATCH pattern] [COUNT count]",
|
|
|
|
"Incrementally iterate the keys space",
|
|
|
|
0,
|
|
|
|
"2.8.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SCARD",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Get the number of members in a set",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
|
|
|
{ "SCRIPT EXISTS",
|
|
|
|
"script [script ...]",
|
|
|
|
"Check existence of scripts in the script cache.",
|
|
|
|
10,
|
|
|
|
"2.6.0" },
|
|
|
|
{ "SCRIPT FLUSH",
|
|
|
|
"-",
|
|
|
|
"Remove all the scripts from the script cache.",
|
|
|
|
10,
|
|
|
|
"2.6.0" },
|
|
|
|
{ "SCRIPT KILL",
|
|
|
|
"-",
|
|
|
|
"Kill the script currently in execution.",
|
|
|
|
10,
|
|
|
|
"2.6.0" },
|
|
|
|
{ "SCRIPT LOAD",
|
|
|
|
"script",
|
|
|
|
"Load the specified Lua script into the script cache.",
|
|
|
|
10,
|
|
|
|
"2.6.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SDIFF",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key [key ...]",
|
|
|
|
"Subtract multiple sets",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SDIFFSTORE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"destination key [key ...]",
|
|
|
|
"Subtract multiple sets and store the resulting set in a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SELECT",
|
2010-11-28 11:45:58 -05:00
|
|
|
"index",
|
|
|
|
"Change the selected database for the current connection",
|
2010-11-28 15:37:19 -05:00
|
|
|
8,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SET",
|
2013-05-14 05:22:50 -04:00
|
|
|
"key value [EX seconds] [PX milliseconds] [NX|XX]",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Set the string value of a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-12-15 11:39:40 -05:00
|
|
|
{ "SETBIT",
|
|
|
|
"key offset value",
|
|
|
|
"Sets or clears the bit at offset in the string value stored at key",
|
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SETEX",
|
2010-12-15 11:39:40 -05:00
|
|
|
"key seconds value",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Set the value and expiration of a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SETNX",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key value",
|
|
|
|
"Set the value of a key, only if the key does not exist",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-12-15 11:39:40 -05:00
|
|
|
{ "SETRANGE",
|
|
|
|
"key offset value",
|
|
|
|
"Overwrite part of a string at key starting at the specified offset",
|
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SHUTDOWN",
|
2012-04-03 09:29:47 -04:00
|
|
|
"[NOSAVE] [SAVE]",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Synchronously save the dataset to disk and then shut down the server",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SINTER",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key [key ...]",
|
|
|
|
"Intersect multiple sets",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SINTERSTORE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"destination key [key ...]",
|
|
|
|
"Intersect multiple sets and store the resulting set in a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SISMEMBER",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key member",
|
|
|
|
"Determine if a given value is a member of a set",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SLAVEOF",
|
2010-11-28 11:45:58 -05:00
|
|
|
"host port",
|
|
|
|
"Make the server a slave of another instance, or promote it as master",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
|
|
|
{ "SLOWLOG",
|
|
|
|
"subcommand [argument]",
|
|
|
|
"Manages the Redis slow queries log",
|
|
|
|
9,
|
|
|
|
"2.2.12" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SMEMBERS",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Get all the members in a set",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SMOVE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"source destination member",
|
|
|
|
"Move a member from one set to another",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SORT",
|
2010-12-15 11:39:40 -05:00
|
|
|
"key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Sort the elements in a list, set or sorted set",
|
2010-11-28 15:37:19 -05:00
|
|
|
0,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SPOP",
|
2014-03-11 10:38:55 -04:00
|
|
|
"key [count]",
|
|
|
|
"Remove and return one or multiple random members from a set",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SRANDMEMBER",
|
2012-10-30 13:57:20 -04:00
|
|
|
"key [count]",
|
|
|
|
"Get one or multiple random members from a set",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SREM",
|
2012-04-03 09:29:47 -04:00
|
|
|
"key member [member ...]",
|
|
|
|
"Remove one or more members from a set",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2014-04-22 10:14:38 -04:00
|
|
|
{ "SSCAN",
|
|
|
|
"key cursor [MATCH pattern] [COUNT count]",
|
|
|
|
"Incrementally iterate Set elements",
|
|
|
|
3,
|
|
|
|
"2.8.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "STRLEN",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Get the length of the value stored in a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
1,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SUBSCRIBE",
|
2012-04-03 09:29:47 -04:00
|
|
|
"channel [channel ...]",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Listen for messages published to the given channels",
|
2010-11-28 15:37:19 -05:00
|
|
|
6,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SUNION",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key [key ...]",
|
|
|
|
"Add multiple sets",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SUNIONSTORE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"destination key [key ...]",
|
|
|
|
"Add multiple sets and store the resulting set in a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
3,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "SYNC",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Internal command used for replication",
|
2010-11-28 15:37:19 -05:00
|
|
|
9,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
|
|
|
{ "TIME",
|
|
|
|
"-",
|
|
|
|
"Return the current server time",
|
|
|
|
9,
|
|
|
|
"2.6.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "TTL",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Get the time to live for a key",
|
2010-11-28 15:37:19 -05:00
|
|
|
0,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "TYPE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Determine the type stored at key",
|
2010-11-28 15:37:19 -05:00
|
|
|
0,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "UNSUBSCRIBE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"[channel [channel ...]]",
|
|
|
|
"Stop listening for messages posted to the given channels",
|
2010-11-28 15:37:19 -05:00
|
|
|
6,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "UNWATCH",
|
2010-11-28 11:45:58 -05:00
|
|
|
"-",
|
|
|
|
"Forget about all watched keys",
|
2010-11-28 15:37:19 -05:00
|
|
|
7,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "WATCH",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key [key ...]",
|
|
|
|
"Watch the given keys to determine execution of the MULTI/EXEC block",
|
2010-11-28 15:37:19 -05:00
|
|
|
7,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZADD",
|
2013-05-14 05:22:50 -04:00
|
|
|
"key score member [score member ...]",
|
2012-04-03 09:29:47 -04:00
|
|
|
"Add one or more members to a sorted set, or update its score if it already exists",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZCARD",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key",
|
|
|
|
"Get the number of members in a sorted set",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZCOUNT",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key min max",
|
|
|
|
"Count the members in a sorted set with scores within the given values",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZINCRBY",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key increment member",
|
|
|
|
"Increment the score of a member in a sorted set",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZINTERSTORE",
|
2010-12-15 11:39:40 -05:00
|
|
|
"destination numkeys key [key ...] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Intersect multiple sorted sets and store the resulting sorted set in a new key",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2014-04-22 10:14:38 -04:00
|
|
|
{ "ZLEXCOUNT",
|
|
|
|
"key min max",
|
|
|
|
"Count the number of members in a sorted set between a given lexicographical range",
|
|
|
|
4,
|
|
|
|
"2.8.9" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZRANGE",
|
2010-12-15 11:39:40 -05:00
|
|
|
"key start stop [WITHSCORES]",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Return a range of members in a sorted set, by index",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.2.0" },
|
2014-04-22 10:14:38 -04:00
|
|
|
{ "ZRANGEBYLEX",
|
|
|
|
"key min max [LIMIT offset count]",
|
|
|
|
"Return a range of members in a sorted set, by lexicographical range",
|
|
|
|
4,
|
|
|
|
"2.8.9" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZRANGEBYSCORE",
|
2010-12-15 11:39:40 -05:00
|
|
|
"key min max [WITHSCORES] [LIMIT offset count]",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Return a range of members in a sorted set, by score",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.0.5" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZRANK",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key member",
|
|
|
|
"Determine the index of a member in a sorted set",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZREM",
|
2012-04-03 09:29:47 -04:00
|
|
|
"key member [member ...]",
|
|
|
|
"Remove one or more members from a sorted set",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.2.0" },
|
2014-04-22 10:14:38 -04:00
|
|
|
{ "ZREMRANGEBYLEX",
|
|
|
|
"key min max",
|
|
|
|
"Remove all members in a sorted set between the given lexicographical range",
|
|
|
|
4,
|
|
|
|
"2.8.9" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZREMRANGEBYRANK",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key start stop",
|
|
|
|
"Remove all members in a sorted set within the given indexes",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZREMRANGEBYSCORE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key min max",
|
|
|
|
"Remove all members in a sorted set within the given scores",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZREVRANGE",
|
2010-12-15 11:39:40 -05:00
|
|
|
"key start stop [WITHSCORES]",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Return a range of members in a sorted set, by index, with scores ordered from high to low",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.2.0" },
|
2010-12-15 11:39:40 -05:00
|
|
|
{ "ZREVRANGEBYSCORE",
|
|
|
|
"key max min [WITHSCORES] [LIMIT offset count]",
|
|
|
|
"Return a range of members in a sorted set, by score, with scores ordered from high to low",
|
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZREVRANK",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key member",
|
|
|
|
"Determine the index of a member in a sorted set, with scores ordered from high to low",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" },
|
2014-04-22 10:14:38 -04:00
|
|
|
{ "ZSCAN",
|
|
|
|
"key cursor [MATCH pattern] [COUNT count]",
|
|
|
|
"Incrementally iterate sorted sets elements and associated scores",
|
|
|
|
4,
|
|
|
|
"2.8.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZSCORE",
|
2010-11-28 11:45:58 -05:00
|
|
|
"key member",
|
|
|
|
"Get the score associated with the given member in a sorted set",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"1.2.0" },
|
2010-11-28 15:37:19 -05:00
|
|
|
{ "ZUNIONSTORE",
|
2010-12-15 11:39:40 -05:00
|
|
|
"destination numkeys key [key ...] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]",
|
2010-11-28 11:45:58 -05:00
|
|
|
"Add multiple sorted sets and store the resulting sorted set in a new key",
|
2010-11-28 15:37:19 -05:00
|
|
|
4,
|
2012-04-03 09:29:47 -04:00
|
|
|
"2.0.0" }
|
2010-11-16 08:50:26 -05:00
|
|
|
};
|
|
|
|
|
2010-11-28 15:37:19 -05:00
|
|
|
#endif
|