2018-06-07 12:53:00 -04:00
/* Automatically generated by 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 " ,
2015-11-17 09:38:34 -05:00
" hyperloglog " ,
" cluster " ,
2018-06-07 12:53:00 -04:00
" geo " ,
" stream "
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 " ,
2015-11-17 09:38:34 -05:00
" key [start end] " ,
2012-10-30 13:57:20 -04:00
" Count set bits in a string " ,
1 ,
" 2.6.0 " } ,
2016-06-14 08:45:28 -04:00
{ " BITFIELD " ,
" key [GET type offset] [SET type offset value] [INCRBY type offset increment] [OVERFLOW WRAP|SAT|FAIL] " ,
" Perform arbitrary bitfield integer operations on strings " ,
1 ,
" 3.2.0 " } ,
2012-10-30 13:57:20 -04:00
{ " 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 " } ,
2018-06-07 12:53:00 -04:00
{ " BZPOPMAX " ,
" key [key ...] timeout " ,
" Remove and return the member with the highest score from one or more sorted sets, or block until one is available " ,
4 ,
" 5.0.0 " } ,
{ " BZPOPMIN " ,
" key [key ...] timeout " ,
" Remove and return the member with the lowest score from one or more sorted sets, or block until one is available " ,
4 ,
" 5.0.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 " ,
2016-04-13 06:35:14 -04:00
" [ip:port] [ID client-id] [TYPE normal|master|slave|pubsub] [ADDR ip:port] [SKIPME yes/no] " ,
2012-10-30 13:57:20 -04:00
" 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 " } ,
2016-04-13 06:35:14 -04:00
{ " CLIENT REPLY " ,
" ON|OFF|SKIP " ,
" Instruct the server whether to reply to commands " ,
9 ,
" 3.2 " } ,
2013-05-14 05:22:50 -04:00
{ " CLIENT SETNAME " ,
" connection-name " ,
" Set the current connection name " ,
9 ,
" 2.6.9 " } ,
2015-11-17 09:38:34 -05:00
{ " CLUSTER ADDSLOTS " ,
" slot [slot ...] " ,
" Assign new hash slots to receiving node " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER COUNT-FAILURE-REPORTS " ,
" node-id " ,
" Return the number of failure reports active for a given node " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER COUNTKEYSINSLOT " ,
" slot " ,
" Return the number of local keys in the specified hash slot " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER DELSLOTS " ,
" slot [slot ...] " ,
" Set hash slots as unbound in receiving node " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER FAILOVER " ,
" [FORCE|TAKEOVER] " ,
" Forces a slave to perform a manual failover of its master. " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER FORGET " ,
" node-id " ,
" Remove a node from the nodes table " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER GETKEYSINSLOT " ,
" slot count " ,
" Return local key names in the specified hash slot " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER INFO " ,
" - " ,
" Provides info about Redis Cluster node state " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER KEYSLOT " ,
" key " ,
" Returns the hash slot of the specified key " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER MEET " ,
" ip port " ,
" Force a node cluster to handshake with another node " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER NODES " ,
" - " ,
" Get Cluster config for the node " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER REPLICATE " ,
" node-id " ,
" Reconfigure a node as a slave of the specified master node " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER RESET " ,
" [HARD|SOFT] " ,
" Reset a Redis Cluster node " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER SAVECONFIG " ,
" - " ,
" Forces the node to save cluster state on disk " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER SET-CONFIG-EPOCH " ,
" config-epoch " ,
" Set the configuration epoch in a new node " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER SETSLOT " ,
" slot IMPORTING|MIGRATING|STABLE|NODE [node-id] " ,
2016-04-13 06:35:14 -04:00
" Bind a hash slot to a specific node " ,
2015-11-17 09:38:34 -05:00
12 ,
" 3.0.0 " } ,
{ " CLUSTER SLAVES " ,
" node-id " ,
" List slave nodes of the specified master node " ,
12 ,
" 3.0.0 " } ,
{ " CLUSTER SLOTS " ,
" - " ,
" Get array of Cluster slot to node mappings " ,
12 ,
" 3.0.0 " } ,
{ " COMMAND " ,
" - " ,
" Get array of Redis command details " ,
9 ,
" 2.8.13 " } ,
{ " COMMAND COUNT " ,
" - " ,
" Get total number of Redis commands " ,
9 ,
" 2.8.13 " } ,
{ " COMMAND GETKEYS " ,
" - " ,
" Extract keys given a full Redis command " ,
9 ,
" 2.8.13 " } ,
{ " COMMAND INFO " ,
" command-name [command-name ...] " ,
" Get array of specific Redis command details " ,
9 ,
" 2.8.13 " } ,
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 " ,
2015-11-17 09:38:34 -05:00
" key [key ...] " ,
2010-11-28 11:45:58 -05:00
" 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 " ,
2018-06-07 12:53:00 -04:00
" [ASYNC] " ,
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 " ,
2018-06-07 12:53:00 -04:00
" [ASYNC] " ,
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 " } ,
2015-11-17 09:38:34 -05:00
{ " GEOADD " ,
" key longitude latitude member [longitude latitude member ...] " ,
" Add one or more geospatial items in the geospatial index represented using a sorted set " ,
13 ,
2016-06-14 08:45:28 -04:00
" 3.2.0 " } ,
2015-11-17 09:38:34 -05:00
{ " GEODIST " ,
" key member1 member2 [unit] " ,
" Returns the distance between two members of a geospatial index " ,
13 ,
2016-06-14 08:45:28 -04:00
" 3.2.0 " } ,
2015-11-17 09:38:34 -05:00
{ " GEOHASH " ,
" key member [member ...] " ,
" Returns members of a geospatial index as standard geohash strings " ,
13 ,
2016-06-14 08:45:28 -04:00
" 3.2.0 " } ,
2015-11-17 09:38:34 -05:00
{ " GEOPOS " ,
" key member [member ...] " ,
" Returns longitude and latitude of members of a geospatial index " ,
13 ,
2016-06-14 08:45:28 -04:00
" 3.2.0 " } ,
2015-11-17 09:38:34 -05:00
{ " GEORADIUS " ,
2016-06-14 08:45:28 -04:00
" key longitude latitude radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count] [ASC|DESC] [STORE key] [STOREDIST key] " ,
2015-11-17 09:38:34 -05:00
" Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point " ,
13 ,
2016-06-14 08:45:28 -04:00
" 3.2.0 " } ,
2015-11-17 09:38:34 -05:00
{ " GEORADIUSBYMEMBER " ,
2016-06-14 08:45:28 -04:00
" key member radius m|km|ft|mi [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count] [ASC|DESC] [STORE key] [STOREDIST key] " ,
2015-11-17 09:38:34 -05:00
" Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member " ,
13 ,
2016-06-14 08:45:28 -04:00
" 3.2.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 " } ,
2015-11-17 09:38:34 -05:00
{ " HSTRLEN " ,
" key field " ,
" Get the length of the value of a hash field " ,
5 ,
" 3.2.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 " } ,
2018-06-07 12:53:00 -04:00
{ " MEMORY DOCTOR " ,
" - " ,
" Outputs memory problems report " ,
9 ,
" 4.0.0 " } ,
{ " MEMORY HELP " ,
" - " ,
" Show helpful text about the different subcommands " ,
9 ,
" 4.0.0 " } ,
{ " MEMORY MALLOC-STATS " ,
" - " ,
" Show allocator internal stats " ,
9 ,
" 4.0.0 " } ,
{ " MEMORY PURGE " ,
" - " ,
" Ask the allocator to release memory " ,
9 ,
" 4.0.0 " } ,
{ " MEMORY STATS " ,
" - " ,
" Show memory usage details " ,
9 ,
" 4.0.0 " } ,
{ " MEMORY USAGE " ,
" key [SAMPLES count] " ,
" Estimate the memory usage of a key " ,
9 ,
" 4.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 " ,
2016-04-13 06:35:14 -04:00
" host port key| " " destination-db timeout [COPY] [REPLACE] [KEYS key] " ,
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 " ,
2016-04-13 06:35:14 -04:00
" [message] " ,
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 " } ,
2015-11-17 09:38:34 -05:00
{ " READONLY " ,
" - " ,
" Enables read queries for a connection to a cluster slave node " ,
12 ,
" 3.0.0 " } ,
{ " READWRITE " ,
" - " ,
" Disables read queries for a connection to a cluster slave node " ,
12 ,
" 3.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 " ,
2015-11-17 09:38:34 -05:00
" key ttl serialized-value [REPLACE] " ,
2012-04-03 09:29:47 -04:00
" Create a key using the provided serialized value, previously obtained using DUMP. " ,
0 ,
" 2.6.0 " } ,
2015-11-17 09:38:34 -05:00
{ " ROLE " ,
" - " ,
" Return the role of the instance in the context of replication " ,
9 ,
" 2.8.12 " } ,
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 " ,
2015-11-17 09:38:34 -05:00
" Remove the last element in a list, prepend 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 " } ,
2016-04-13 06:35:14 -04:00
{ " SCRIPT DEBUG " ,
" YES|SYNC|NO " ,
" Set the debug mode for executed scripts. " ,
10 ,
" 3.2.0 " } ,
2012-04-03 09:29:47 -04:00
{ " SCRIPT EXISTS " ,
2018-06-07 12:53:00 -04:00
" sha1 [sha1 ...] " ,
2012-04-03 09:29:47 -04:00
" 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 " ,
2018-06-07 12:53:00 -04:00
" key value [expiration 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 " ,
2016-04-13 06:35:14 -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 " } ,
2018-06-07 12:53:00 -04:00
{ " SWAPDB " ,
" index index " ,
" Swaps two Redis databases " ,
8 ,
" 4.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 " } ,
2018-06-07 12:53:00 -04:00
{ " TOUCH " ,
" key [key ...] " ,
" Alters the last access time of a key(s). Returns the number of existing keys specified. " ,
0 ,
" 3.2.1 " } ,
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 " } ,
2018-06-07 12:53:00 -04:00
{ " UNLINK " ,
" key [key ...] " ,
" Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking. " ,
0 ,
" 4.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 " } ,
2015-11-17 09:38:34 -05:00
{ " WAIT " ,
" numslaves timeout " ,
" Wait for the synchronous replication of all the write commands sent in the context of the current connection " ,
0 ,
" 3.0.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 " } ,
2018-06-07 12:53:00 -04:00
{ " XADD " ,
" key ID field string [field string ...] " ,
" Appends a new entry to a stream " ,
14 ,
" 5.0.0 " } ,
{ " XLEN " ,
" key " ,
" Return the number of entires in a stream " ,
14 ,
" 5.0.0 " } ,
{ " XPENDING " ,
" key group [start end count] [consumer] " ,
2018-06-27 09:33:31 -04:00
" Return information and entries from a stream consumer group pending entries list, that are messages fetched but never acknowledged. " ,
2018-06-07 12:53:00 -04:00
14 ,
" 5.0.0 " } ,
{ " XRANGE " ,
" key start end [COUNT count] " ,
" Return a range of elements in a stream, with IDs matching the specified IDs interval " ,
14 ,
" 5.0.0 " } ,
{ " XREAD " ,
" [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...] " ,
" Return never seen elements in multiple streams, with IDs greater than the ones reported by the caller for each stream. Can block. " ,
14 ,
" 5.0.0 " } ,
{ " XREADGROUP " ,
" GROUP group consumer [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...] " ,
" Return new entries from a stream using a consumer group, or access the history of the pending entries for a given consumer. Can block. " ,
14 ,
" 5.0.0 " } ,
{ " XREVRANGE " ,
" key end start [COUNT count] " ,
" Return a range of elements in a stream, with IDs matching the specified IDs interval, in reverse order (from greater to smaller IDs) compared to XRANGE " ,
14 ,
" 5.0.0 " } ,
2010-11-28 15:37:19 -05:00
{ " ZADD " ,
2015-11-17 09:38:34 -05:00
" key [NX|XX] [CH] [INCR] 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 " } ,
2018-06-07 12:53:00 -04:00
{ " ZPOPMAX " ,
" key [count] " ,
" Remove and return members with the highest scores in a sorted set " ,
4 ,
" 5.0.0 " } ,
{ " ZPOPMIN " ,
" key [count] " ,
" Remove and return members with the lowest scores in a sorted set " ,
4 ,
" 5.0.0 " } ,
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 " } ,
2015-11-17 09:38:34 -05:00
{ " ZREVRANGEBYLEX " ,
" key max min [LIMIT offset count] " ,
" Return a range of members in a sorted set, by lexicographical range, ordered from higher to lower strings. " ,
4 ,
" 2.8.9 " } ,
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