Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
5a76e818
Unverified
Commit
5a76e818
authored
Mar 22, 2023
by
Oran Agra
Committed by
GitHub
Mar 22, 2023
Browse files
update help.h (#11948)
preparing release of 7.2 RC1
parent
c3b9f2fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/help.h
View file @
5a76e818
...
@@ -130,17 +130,17 @@ struct commandHelp {
...
@@ -130,17 +130,17 @@ struct commandHelp {
15
,
15
,
"2.6.0"
},
"2.6.0"
},
{
"BITFIELD"
,
{
"BITFIELD"
,
"key GET encoding offset|[OVERFLOW WRAP|SAT|FAIL] SET encoding offset value|INCRBY encoding offset increment [GET encoding offset|[OVERFLOW WRAP|SAT|FAIL] SET encoding offset value|INCRBY encoding offset increment ...]"
,
"key
[
GET encoding offset|[OVERFLOW WRAP|SAT|FAIL] SET encoding offset value|INCRBY encoding offset increment [GET encoding offset|[OVERFLOW WRAP|SAT|FAIL] SET encoding offset value|INCRBY encoding offset increment ...]
]
"
,
"Perform arbitrary bitfield integer operations on strings"
,
"Perform arbitrary bitfield integer operations on strings"
,
15
,
15
,
"3.2.0"
},
"3.2.0"
},
{
"BITFIELD_RO"
,
{
"BITFIELD_RO"
,
"key GET encoding offset [GET encoding offset ...]"
,
"key
[
GET encoding offset [GET encoding offset ...]
]
"
,
"Perform arbitrary bitfield integer operations on strings. Read-only variant of BITFIELD"
,
"Perform arbitrary bitfield integer operations on strings. Read-only variant of BITFIELD"
,
15
,
15
,
"6.0.0"
},
"6.0.0"
},
{
"BITOP"
,
{
"BITOP"
,
"
operation
destkey key [key ...]"
,
"
AND|OR|XOR|NOT
destkey key [key ...]"
,
"Perform bitwise operations between strings"
,
"Perform bitwise operations between strings"
,
15
,
15
,
"2.6.0"
},
"2.6.0"
},
...
@@ -225,7 +225,7 @@ struct commandHelp {
...
@@ -225,7 +225,7 @@ struct commandHelp {
8
,
8
,
"6.2.0"
},
"6.2.0"
},
{
"CLIENT KILL"
,
{
"CLIENT KILL"
,
"
[ip:port]
[ID client-id]
[TYPE NORMAL|MASTER|SLAVE|REPLICA|PUBSUB]
[USER username]
[ADDR ip:port] [LADDR ip:port] [SKIPME yes/no
]"
,
"
old-format|
[ID client-id]
|
[TYPE NORMAL|MASTER|SLAVE|REPLICA|PUBSUB]
|
[USER username]
|[ADDR addr]|[LADDR laddr]|[SKIPME YES|NO] [[ID client-id]|[TYPE NORMAL|MASTER|SLAVE|REPLICA|PUBSUB]|[USER username]|[ADDR addr]|[LADDR laddr]|[SKIPME YES|NO] ...
]"
,
"Kill the connection of a client"
,
"Kill the connection of a client"
,
8
,
8
,
"2.4.0"
},
"2.4.0"
},
...
@@ -239,16 +239,26 @@ struct commandHelp {
...
@@ -239,16 +239,26 @@ struct commandHelp {
"Set client eviction mode for the current connection"
,
"Set client eviction mode for the current connection"
,
8
,
8
,
"7.0.0"
},
"7.0.0"
},
{
"CLIENT NO-TOUCH"
,
"ON|OFF"
,
"Controls whether commands sent by the client will alter the LRU/LFU of the keys they access."
,
8
,
"7.2.0"
},
{
"CLIENT PAUSE"
,
{
"CLIENT PAUSE"
,
"timeout [WRITE|ALL]"
,
"timeout [WRITE|ALL]"
,
"Stop processing commands from clients for some time"
,
"Stop processing commands from clients for some time"
,
8
,
8
,
"
2.9.5
0"
},
"
3.0.
0"
},
{
"CLIENT REPLY"
,
{
"CLIENT REPLY"
,
"ON|OFF|SKIP"
,
"ON|OFF|SKIP"
,
"Instruct the server whether to reply to commands"
,
"Instruct the server whether to reply to commands"
,
8
,
8
,
"3.2.0"
},
"3.2.0"
},
{
"CLIENT SETINFO"
,
"LIB-NAME libname|LIB-VER libver"
,
"Set client or connection specific info"
,
8
,
"7.2.0"
},
{
"CLIENT SETNAME"
,
{
"CLIENT SETNAME"
,
"connection-name"
,
"connection-name"
,
"Set the current connection name"
,
"Set the current connection name"
,
...
@@ -355,7 +365,7 @@ struct commandHelp {
...
@@ -355,7 +365,7 @@ struct commandHelp {
12
,
12
,
"7.0.0"
},
"7.0.0"
},
{
"CLUSTER MEET"
,
{
"CLUSTER MEET"
,
"ip port [cluster
_
bus
_
port]"
,
"ip port [cluster
-
bus
-
port]"
,
"Force a node cluster to handshake with another node"
,
"Force a node cluster to handshake with another node"
,
12
,
12
,
"3.0.0"
},
"3.0.0"
},
...
@@ -364,6 +374,11 @@ struct commandHelp {
...
@@ -364,6 +374,11 @@ struct commandHelp {
"Return the node id"
,
"Return the node id"
,
12
,
12
,
"3.0.0"
},
"3.0.0"
},
{
"CLUSTER MYSHARDID"
,
""
,
"Return the node shard id"
,
12
,
"7.2.0"
},
{
"CLUSTER NODES"
,
{
"CLUSTER NODES"
,
""
,
""
,
"Get Cluster config for the node"
,
"Get Cluster config for the node"
,
...
@@ -395,7 +410,7 @@ struct commandHelp {
...
@@ -395,7 +410,7 @@ struct commandHelp {
12
,
12
,
"3.0.0"
},
"3.0.0"
},
{
"CLUSTER SETSLOT"
,
{
"CLUSTER SETSLOT"
,
"slot IMPORTING
node-id
|MIGRATING
node-id
|NODE node
-id
|STABLE"
,
"slot IMPORTING
importing
|MIGRATING
migrating
|NODE node|STABLE"
,
"Bind a hash slot to a specific node"
,
"Bind a hash slot to a specific node"
,
12
,
12
,
"3.0.0"
},
"3.0.0"
},
...
@@ -430,12 +445,12 @@ struct commandHelp {
...
@@ -430,12 +445,12 @@ struct commandHelp {
9
,
9
,
"7.0.0"
},
"7.0.0"
},
{
"COMMAND GETKEYS"
,
{
"COMMAND GETKEYS"
,
""
,
"
command [arg [arg ...]]
"
,
"Extract keys given a full Redis command"
,
"Extract keys given a full Redis command"
,
9
,
9
,
"2.8.13"
},
"2.8.13"
},
{
"COMMAND GETKEYSANDFLAGS"
,
{
"COMMAND GETKEYSANDFLAGS"
,
""
,
"
command [arg [arg ...]]
"
,
"Extract keys and access flags given a full Redis command"
,
"Extract keys and access flags given a full Redis command"
,
9
,
9
,
"7.0.0"
},
"7.0.0"
},
...
@@ -540,12 +555,12 @@ struct commandHelp {
...
@@ -540,12 +555,12 @@ struct commandHelp {
10
,
10
,
"2.6.0"
},
"2.6.0"
},
{
"EVALSHA_RO"
,
{
"EVALSHA_RO"
,
"sha1 numkeys key [key ...] arg [arg ...]"
,
"sha1 numkeys
[
key [key ...]
]
[
arg [arg ...]
]
"
,
"Execute a read-only Lua script server side"
,
"Execute a read-only Lua script server side"
,
10
,
10
,
"7.0.0"
},
"7.0.0"
},
{
"EVAL_RO"
,
{
"EVAL_RO"
,
"script numkeys key [key ...] arg [arg ...]"
,
"script numkeys
[
key [key ...]
]
[
arg [arg ...]
]
"
,
"Execute a read-only Lua script server side"
,
"Execute a read-only Lua script server side"
,
10
,
10
,
"7.0.0"
},
"7.0.0"
},
...
@@ -580,12 +595,12 @@ struct commandHelp {
...
@@ -580,12 +595,12 @@ struct commandHelp {
9
,
9
,
"6.2.0"
},
"6.2.0"
},
{
"FCALL"
,
{
"FCALL"
,
"function numkeys key [key ...] arg [arg ...]"
,
"function numkeys
[
key [key ...]
]
[
arg [arg ...]
]
"
,
"Invoke a function"
,
"Invoke a function"
,
10
,
10
,
"7.0.0"
},
"7.0.0"
},
{
"FCALL_RO"
,
{
"FCALL_RO"
,
"function numkeys key [key ...] arg [arg ...]"
,
"function numkeys
[
key [key ...]
]
[
arg [arg ...]
]
"
,
"Invoke a read-only function"
,
"Invoke a read-only function"
,
10
,
10
,
"7.0.0"
},
"7.0.0"
},
...
@@ -660,22 +675,22 @@ struct commandHelp {
...
@@ -660,22 +675,22 @@ struct commandHelp {
13
,
13
,
"3.2.0"
},
"3.2.0"
},
{
"GEOHASH"
,
{
"GEOHASH"
,
"key member [member ...]"
,
"key
[
member [member ...]
]
"
,
"Returns members of a geospatial index as standard geohash strings"
,
"Returns members of a geospatial index as standard geohash strings"
,
13
,
13
,
"3.2.0"
},
"3.2.0"
},
{
"GEOPOS"
,
{
"GEOPOS"
,
"key member [member ...]"
,
"key
[
member [member ...]
]
"
,
"Returns longitude and latitude of members of a geospatial index"
,
"Returns longitude and latitude of members of a geospatial index"
,
13
,
13
,
"3.2.0"
},
"3.2.0"
},
{
"GEORADIUS"
,
{
"GEORADIUS"
,
"key longitude latitude radius M|KM|FT|MI [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]"
,
"key longitude latitude radius M|KM|FT|MI [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC] [STORE
store
key] [STOREDIST
storedist
key]"
,
"Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point"
,
"Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point"
,
13
,
13
,
"3.2.0"
},
"3.2.0"
},
{
"GEORADIUSBYMEMBER"
,
{
"GEORADIUSBYMEMBER"
,
"key member radius M|KM|FT|MI [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]"
,
"key member radius M|KM|FT|MI [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC] [STORE
store
key] [STOREDIST
storedist
key]"
,
"Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member"
,
"Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member"
,
13
,
13
,
"3.2.0"
},
"3.2.0"
},
...
@@ -885,7 +900,7 @@ struct commandHelp {
...
@@ -885,7 +900,7 @@ struct commandHelp {
9
,
9
,
"2.8.13"
},
"2.8.13"
},
{
"LCS"
,
{
"LCS"
,
"key1 key2 [LEN] [IDX] [MINMATCHLEN len] [WITHMATCHLEN]"
,
"key1 key2 [LEN] [IDX] [MINMATCHLEN
min-match-
len] [WITHMATCHLEN]"
,
"Find longest common substring"
,
"Find longest common substring"
,
1
,
1
,
"7.0.0"
},
"7.0.0"
},
...
@@ -1000,7 +1015,7 @@ struct commandHelp {
...
@@ -1000,7 +1015,7 @@ struct commandHelp {
1
,
1
,
"1.0.0"
},
"1.0.0"
},
{
"MIGRATE"
,
{
"MIGRATE"
,
"host port key| destination-db timeout [COPY] [REPLACE]
[
[AUTH
password]|[
AUTH2 username password]
]
[KEYS key [key ...]]"
,
"host port key| destination-db timeout [COPY] [REPLACE] [AUTH
auth|
AUTH2 username password] [KEYS key
s
[key
s
...]]"
,
"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"
},
...
@@ -1025,7 +1040,7 @@ struct commandHelp {
...
@@ -1025,7 +1040,7 @@ struct commandHelp {
9
,
9
,
"4.0.0"
},
"4.0.0"
},
{
"MODULE LOADEX"
,
{
"MODULE LOADEX"
,
"path [CONFIG name value [CONFIG name value ...]] [ARGS arg [arg ...]]"
,
"path [CONFIG name value [CONFIG name value ...]] [ARGS arg
s
[arg
s
...]]"
,
"Load a module with extended parameters"
,
"Load a module with extended parameters"
,
9
,
9
,
"7.0.0"
},
"7.0.0"
},
...
@@ -1450,12 +1465,12 @@ struct commandHelp {
...
@@ -1450,12 +1465,12 @@ struct commandHelp {
3
,
3
,
"1.0.0"
},
"1.0.0"
},
{
"SORT"
,
{
"SORT"
,
"key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]"
,
"key [BY
by-
pattern] [LIMIT offset count] [GET
get-
pattern [GET
get-
pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]"
,
"Sort the elements in a list, set or sorted set"
,
"Sort the elements in a list, set or sorted set"
,
0
,
0
,
"1.0.0"
},
"1.0.0"
},
{
"SORT_RO"
,
{
"SORT_RO"
,
"key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA]"
,
"key [BY
by-
pattern] [LIMIT offset count] [GET
get-
pattern [GET
get-
pattern ...]] [ASC|DESC] [ALPHA]"
,
"Sort the elements in a list, set or sorted set. Read-only variant of SORT."
,
"Sort the elements in a list, set or sorted set. Read-only variant of SORT."
,
0
,
0
,
"7.0.0"
},
"7.0.0"
},
...
@@ -1569,6 +1584,11 @@ struct commandHelp {
...
@@ -1569,6 +1584,11 @@ struct commandHelp {
"Wait for the synchronous replication of all the write commands sent in the context of the current connection"
,
"Wait for the synchronous replication of all the write commands sent in the context of the current connection"
,
0
,
0
,
"3.0.0"
},
"3.0.0"
},
{
"WAITAOF"
,
"numlocal numreplicas timeout"
,
"Wait for all write commands sent in the context of the current connection to be synced to AOF of local host and/or replicas"
,
0
,
"7.2.0"
},
{
"WATCH"
,
{
"WATCH"
,
"key [key ...]"
,
"key [key ...]"
,
"Watch the given keys to determine execution of the MULTI/EXEC block"
,
"Watch the given keys to determine execution of the MULTI/EXEC block"
,
...
@@ -1590,7 +1610,7 @@ struct commandHelp {
...
@@ -1590,7 +1610,7 @@ struct commandHelp {
14
,
14
,
"6.2.0"
},
"6.2.0"
},
{
"XCLAIM"
,
{
"XCLAIM"
,
"key group consumer min-idle-time id [id ...] [IDLE ms] [TIME unix-time-milliseconds] [RETRYCOUNT count] [FORCE] [JUSTID]"
,
"key group consumer min-idle-time id [id ...] [IDLE ms] [TIME unix-time-milliseconds] [RETRYCOUNT count] [FORCE] [JUSTID]
[LASTID lastid]
"
,
"Changes (or acquires) ownership of a message in a consumer group, as if the message was delivered to the specified consumer."
,
"Changes (or acquires) ownership of a message in a consumer group, as if the message was delivered to the specified consumer."
,
14
,
14
,
"5.0.0"
},
"5.0.0"
},
...
@@ -1605,22 +1625,22 @@ struct commandHelp {
...
@@ -1605,22 +1625,22 @@ struct commandHelp {
14
,
14
,
"5.0.0"
},
"5.0.0"
},
{
"XGROUP CREATE"
,
{
"XGROUP CREATE"
,
"key group
name
id|$ [MKSTREAM] [ENTRIESREAD entries
_
read]"
,
"key group id|$ [MKSTREAM] [ENTRIESREAD entries
-
read]"
,
"Create a consumer group."
,
"Create a consumer group."
,
14
,
14
,
"5.0.0"
},
"5.0.0"
},
{
"XGROUP CREATECONSUMER"
,
{
"XGROUP CREATECONSUMER"
,
"key group
name
consumer
name
"
,
"key group consumer"
,
"Create a consumer in a consumer group."
,
"Create a consumer in a consumer group."
,
14
,
14
,
"6.2.0"
},
"6.2.0"
},
{
"XGROUP DELCONSUMER"
,
{
"XGROUP DELCONSUMER"
,
"key group
name
consumer
name
"
,
"key group consumer"
,
"Delete a consumer from a consumer group."
,
"Delete a consumer from a consumer group."
,
14
,
14
,
"5.0.0"
},
"5.0.0"
},
{
"XGROUP DESTROY"
,
{
"XGROUP DESTROY"
,
"key group
name
"
,
"key group"
,
"Destroy a consumer group."
,
"Destroy a consumer group."
,
14
,
14
,
"5.0.0"
},
"5.0.0"
},
...
@@ -1630,7 +1650,7 @@ struct commandHelp {
...
@@ -1630,7 +1650,7 @@ struct commandHelp {
14
,
14
,
"5.0.0"
},
"5.0.0"
},
{
"XGROUP SETID"
,
{
"XGROUP SETID"
,
"key group
name
id|$ [ENTRIESREAD entries
_
read]"
,
"key group id|$ [ENTRIESREAD entriesread]"
,
"Set a consumer group to an arbitrary last delivered ID value."
,
"Set a consumer group to an arbitrary last delivered ID value."
,
14
,
14
,
"5.0.0"
},
"5.0.0"
},
...
@@ -1640,7 +1660,7 @@ struct commandHelp {
...
@@ -1640,7 +1660,7 @@ struct commandHelp {
14
,
14
,
"5.0.0"
},
"5.0.0"
},
{
"XINFO CONSUMERS"
,
{
"XINFO CONSUMERS"
,
"key group
name
"
,
"key group"
,
"List the consumers in a consumer group"
,
"List the consumers in a consumer group"
,
14
,
14
,
"5.0.0"
},
"5.0.0"
},
...
@@ -1690,7 +1710,7 @@ struct commandHelp {
...
@@ -1690,7 +1710,7 @@ struct commandHelp {
14
,
14
,
"5.0.0"
},
"5.0.0"
},
{
"XSETID"
,
{
"XSETID"
,
"key last-id [ENTRIESADDED entries
_
added] [MAXDELETEDID max
_
deleted
_entry_
id]"
,
"key last-id [ENTRIESADDED entries
-
added] [MAXDELETEDID max
-
deleted
-
id]"
,
"An internal command for replicating stream values"
,
"An internal command for replicating stream values"
,
14
,
14
,
"5.0.0"
},
"5.0.0"
},
...
@@ -1795,7 +1815,7 @@ struct commandHelp {
...
@@ -1795,7 +1815,7 @@ struct commandHelp {
4
,
4
,
"6.2.0"
},
"6.2.0"
},
{
"ZRANK"
,
{
"ZRANK"
,
"key member"
,
"key member
[WITHSCORE]
"
,
"Determine the index of a member in a sorted set"
,
"Determine the index of a member in a sorted set"
,
4
,
4
,
"2.0.0"
},
"2.0.0"
},
...
@@ -1835,7 +1855,7 @@ struct commandHelp {
...
@@ -1835,7 +1855,7 @@ struct commandHelp {
4
,
4
,
"2.2.0"
},
"2.2.0"
},
{
"ZREVRANK"
,
{
"ZREVRANK"
,
"key member"
,
"key member
[WITHSCORE]
"
,
"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"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment