mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
redis-cli help.h updated.
This commit is contained in:
parent
9eeb03e5f7
commit
20c040d364
75
src/help.h
75
src/help.h
@ -14,7 +14,8 @@ static char *commandGroups[] = {
|
|||||||
"transactions",
|
"transactions",
|
||||||
"connection",
|
"connection",
|
||||||
"server",
|
"server",
|
||||||
"scripting"
|
"scripting",
|
||||||
|
"hyperloglog"
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandHelp {
|
struct commandHelp {
|
||||||
@ -54,6 +55,11 @@ struct commandHelp {
|
|||||||
"Perform bitwise operations between strings",
|
"Perform bitwise operations between strings",
|
||||||
1,
|
1,
|
||||||
"2.6.0" },
|
"2.6.0" },
|
||||||
|
{ "BITPOS",
|
||||||
|
"key bit [start] [end]",
|
||||||
|
"Find first bit set or clear in a string",
|
||||||
|
1,
|
||||||
|
"2.8.7" },
|
||||||
{ "BLPOP",
|
{ "BLPOP",
|
||||||
"key [key ...] timeout",
|
"key [key ...] timeout",
|
||||||
"Remove and get the first element in a list, or block until one is available",
|
"Remove and get the first element in a list, or block until one is available",
|
||||||
@ -84,6 +90,11 @@ struct commandHelp {
|
|||||||
"Get the list of client connections",
|
"Get the list of client connections",
|
||||||
9,
|
9,
|
||||||
"2.4.0" },
|
"2.4.0" },
|
||||||
|
{ "CLIENT PAUSE",
|
||||||
|
"timeout",
|
||||||
|
"Stop processing commands from clients for some time",
|
||||||
|
9,
|
||||||
|
"2.9.50" },
|
||||||
{ "CLIENT SETNAME",
|
{ "CLIENT SETNAME",
|
||||||
"connection-name",
|
"connection-name",
|
||||||
"Set the current connection name",
|
"Set the current connection name",
|
||||||
@ -99,6 +110,11 @@ struct commandHelp {
|
|||||||
"Reset the stats returned by INFO",
|
"Reset the stats returned by INFO",
|
||||||
9,
|
9,
|
||||||
"2.0.0" },
|
"2.0.0" },
|
||||||
|
{ "CONFIG REWRITE",
|
||||||
|
"-",
|
||||||
|
"Rewrite the configuration file with the in memory configuration",
|
||||||
|
9,
|
||||||
|
"2.8.0" },
|
||||||
{ "CONFIG SET",
|
{ "CONFIG SET",
|
||||||
"parameter value",
|
"parameter value",
|
||||||
"Set a configuration parameter to the given value",
|
"Set a configuration parameter to the given value",
|
||||||
@ -259,6 +275,11 @@ struct commandHelp {
|
|||||||
"Set multiple hash fields to multiple values",
|
"Set multiple hash fields to multiple values",
|
||||||
5,
|
5,
|
||||||
"2.0.0" },
|
"2.0.0" },
|
||||||
|
{ "HSCAN",
|
||||||
|
"key cursor [MATCH pattern] [COUNT count]",
|
||||||
|
"Incrementally iterate hash fields and associated values",
|
||||||
|
5,
|
||||||
|
"2.8.0" },
|
||||||
{ "HSET",
|
{ "HSET",
|
||||||
"key field value",
|
"key field value",
|
||||||
"Set the string value of a hash field",
|
"Set the string value of a hash field",
|
||||||
@ -360,7 +381,7 @@ struct commandHelp {
|
|||||||
1,
|
1,
|
||||||
"1.0.0" },
|
"1.0.0" },
|
||||||
{ "MIGRATE",
|
{ "MIGRATE",
|
||||||
"host port key destination-db timeout",
|
"host port key destination-db timeout [COPY] [REPLACE]",
|
||||||
"Atomically transfer a key from a Redis instance to another one.",
|
"Atomically transfer a key from a Redis instance to another one.",
|
||||||
0,
|
0,
|
||||||
"2.6.0" },
|
"2.6.0" },
|
||||||
@ -409,6 +430,21 @@ struct commandHelp {
|
|||||||
"Set the expiration for a key as a UNIX timestamp specified in milliseconds",
|
"Set the expiration for a key as a UNIX timestamp specified in milliseconds",
|
||||||
0,
|
0,
|
||||||
"2.6.0" },
|
"2.6.0" },
|
||||||
|
{ "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" },
|
||||||
{ "PING",
|
{ "PING",
|
||||||
"-",
|
"-",
|
||||||
"Ping the server",
|
"Ping the server",
|
||||||
@ -434,6 +470,11 @@ struct commandHelp {
|
|||||||
"Post a message to a channel",
|
"Post a message to a channel",
|
||||||
6,
|
6,
|
||||||
"2.0.0" },
|
"2.0.0" },
|
||||||
|
{ "PUBSUB",
|
||||||
|
"subcommand [argument [argument ...]]",
|
||||||
|
"Inspect the state of the Pub/Sub subsystem",
|
||||||
|
6,
|
||||||
|
"2.8.0" },
|
||||||
{ "PUNSUBSCRIBE",
|
{ "PUNSUBSCRIBE",
|
||||||
"[pattern [pattern ...]]",
|
"[pattern [pattern ...]]",
|
||||||
"Stop listening for messages posted to channels matching the given patterns",
|
"Stop listening for messages posted to channels matching the given patterns",
|
||||||
@ -494,6 +535,11 @@ struct commandHelp {
|
|||||||
"Synchronously save the dataset to disk",
|
"Synchronously save the dataset to disk",
|
||||||
9,
|
9,
|
||||||
"1.0.0" },
|
"1.0.0" },
|
||||||
|
{ "SCAN",
|
||||||
|
"cursor [MATCH pattern] [COUNT count]",
|
||||||
|
"Incrementally iterate the keys space",
|
||||||
|
0,
|
||||||
|
"2.8.0" },
|
||||||
{ "SCARD",
|
{ "SCARD",
|
||||||
"key",
|
"key",
|
||||||
"Get the number of members in a set",
|
"Get the number of members in a set",
|
||||||
@ -619,6 +665,11 @@ struct commandHelp {
|
|||||||
"Remove one or more members from a set",
|
"Remove one or more members from a set",
|
||||||
3,
|
3,
|
||||||
"1.0.0" },
|
"1.0.0" },
|
||||||
|
{ "SSCAN",
|
||||||
|
"key cursor [MATCH pattern] [COUNT count]",
|
||||||
|
"Incrementally iterate Set elements",
|
||||||
|
3,
|
||||||
|
"2.8.0" },
|
||||||
{ "STRLEN",
|
{ "STRLEN",
|
||||||
"key",
|
"key",
|
||||||
"Get the length of the value stored in a key",
|
"Get the length of the value stored in a key",
|
||||||
@ -699,11 +750,21 @@ struct commandHelp {
|
|||||||
"Intersect multiple sorted sets and store the resulting sorted set in a new key",
|
"Intersect multiple sorted sets and store the resulting sorted set in a new key",
|
||||||
4,
|
4,
|
||||||
"2.0.0" },
|
"2.0.0" },
|
||||||
|
{ "ZLEXCOUNT",
|
||||||
|
"key min max",
|
||||||
|
"Count the number of members in a sorted set between a given lexicographical range",
|
||||||
|
4,
|
||||||
|
"2.8.9" },
|
||||||
{ "ZRANGE",
|
{ "ZRANGE",
|
||||||
"key start stop [WITHSCORES]",
|
"key start stop [WITHSCORES]",
|
||||||
"Return a range of members in a sorted set, by index",
|
"Return a range of members in a sorted set, by index",
|
||||||
4,
|
4,
|
||||||
"1.2.0" },
|
"1.2.0" },
|
||||||
|
{ "ZRANGEBYLEX",
|
||||||
|
"key min max [LIMIT offset count]",
|
||||||
|
"Return a range of members in a sorted set, by lexicographical range",
|
||||||
|
4,
|
||||||
|
"2.8.9" },
|
||||||
{ "ZRANGEBYSCORE",
|
{ "ZRANGEBYSCORE",
|
||||||
"key min max [WITHSCORES] [LIMIT offset count]",
|
"key min max [WITHSCORES] [LIMIT offset count]",
|
||||||
"Return a range of members in a sorted set, by score",
|
"Return a range of members in a sorted set, by score",
|
||||||
@ -719,6 +780,11 @@ struct commandHelp {
|
|||||||
"Remove one or more members from a sorted set",
|
"Remove one or more members from a sorted set",
|
||||||
4,
|
4,
|
||||||
"1.2.0" },
|
"1.2.0" },
|
||||||
|
{ "ZREMRANGEBYLEX",
|
||||||
|
"key min max",
|
||||||
|
"Remove all members in a sorted set between the given lexicographical range",
|
||||||
|
4,
|
||||||
|
"2.8.9" },
|
||||||
{ "ZREMRANGEBYRANK",
|
{ "ZREMRANGEBYRANK",
|
||||||
"key start stop",
|
"key start stop",
|
||||||
"Remove all members in a sorted set within the given indexes",
|
"Remove all members in a sorted set within the given indexes",
|
||||||
@ -744,6 +810,11 @@ struct commandHelp {
|
|||||||
"Determine the index of a member in a sorted set, with scores ordered from high to low",
|
"Determine the index of a member in a sorted set, with scores ordered from high to low",
|
||||||
4,
|
4,
|
||||||
"2.0.0" },
|
"2.0.0" },
|
||||||
|
{ "ZSCAN",
|
||||||
|
"key cursor [MATCH pattern] [COUNT count]",
|
||||||
|
"Incrementally iterate sorted sets elements and associated scores",
|
||||||
|
4,
|
||||||
|
"2.8.0" },
|
||||||
{ "ZSCORE",
|
{ "ZSCORE",
|
||||||
"key member",
|
"key member",
|
||||||
"Get the score associated with the given member in a sorted set",
|
"Get the score associated with the given member in a sorted set",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user