Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
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 {
15
,
"2.6.0"
},
{
"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"
,
15
,
"3.2.0"
},
{
"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"
,
15
,
"6.0.0"
},
{
"BITOP"
,
"
operation
destkey key [key ...]"
,
"
AND|OR|XOR|NOT
destkey key [key ...]"
,
"Perform bitwise operations between strings"
,
15
,
"2.6.0"
},
...
...
@@ -225,7 +225,7 @@ struct commandHelp {
8
,
"6.2.0"
},
{
"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"
,
8
,
"2.4.0"
},
...
...
@@ -239,16 +239,26 @@ struct commandHelp {
"Set client eviction mode for the current connection"
,
8
,
"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"
,
"timeout [WRITE|ALL]"
,
"Stop processing commands from clients for some time"
,
8
,
"
2.9.5
0"
},
"
3.0.
0"
},
{
"CLIENT REPLY"
,
"ON|OFF|SKIP"
,
"Instruct the server whether to reply to commands"
,
8
,
"3.2.0"
},
{
"CLIENT SETINFO"
,
"LIB-NAME libname|LIB-VER libver"
,
"Set client or connection specific info"
,
8
,
"7.2.0"
},
{
"CLIENT SETNAME"
,
"connection-name"
,
"Set the current connection name"
,
...
...
@@ -355,7 +365,7 @@ struct commandHelp {
12
,
"7.0.0"
},
{
"CLUSTER MEET"
,
"ip port [cluster
_
bus
_
port]"
,
"ip port [cluster
-
bus
-
port]"
,
"Force a node cluster to handshake with another node"
,
12
,
"3.0.0"
},
...
...
@@ -364,6 +374,11 @@ struct commandHelp {
"Return the node id"
,
12
,
"3.0.0"
},
{
"CLUSTER MYSHARDID"
,
""
,
"Return the node shard id"
,
12
,
"7.2.0"
},
{
"CLUSTER NODES"
,
""
,
"Get Cluster config for the node"
,
...
...
@@ -395,7 +410,7 @@ struct commandHelp {
12
,
"3.0.0"
},
{
"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"
,
12
,
"3.0.0"
},
...
...
@@ -430,12 +445,12 @@ struct commandHelp {
9
,
"7.0.0"
},
{
"COMMAND GETKEYS"
,
""
,
"
command [arg [arg ...]]
"
,
"Extract keys given a full Redis command"
,
9
,
"2.8.13"
},
{
"COMMAND GETKEYSANDFLAGS"
,
""
,
"
command [arg [arg ...]]
"
,
"Extract keys and access flags given a full Redis command"
,
9
,
"7.0.0"
},
...
...
@@ -540,12 +555,12 @@ struct commandHelp {
10
,
"2.6.0"
},
{
"EVALSHA_RO"
,
"sha1 numkeys key [key ...] arg [arg ...]"
,
"sha1 numkeys
[
key [key ...]
]
[
arg [arg ...]
]
"
,
"Execute a read-only Lua script server side"
,
10
,
"7.0.0"
},
{
"EVAL_RO"
,
"script numkeys key [key ...] arg [arg ...]"
,
"script numkeys
[
key [key ...]
]
[
arg [arg ...]
]
"
,
"Execute a read-only Lua script server side"
,
10
,
"7.0.0"
},
...
...
@@ -580,12 +595,12 @@ struct commandHelp {
9
,
"6.2.0"
},
{
"FCALL"
,
"function numkeys key [key ...] arg [arg ...]"
,
"function numkeys
[
key [key ...]
]
[
arg [arg ...]
]
"
,
"Invoke a function"
,
10
,
"7.0.0"
},
{
"FCALL_RO"
,
"function numkeys key [key ...] arg [arg ...]"
,
"function numkeys
[
key [key ...]
]
[
arg [arg ...]
]
"
,
"Invoke a read-only function"
,
10
,
"7.0.0"
},
...
...
@@ -660,22 +675,22 @@ struct commandHelp {
13
,
"3.2.0"
},
{
"GEOHASH"
,
"key member [member ...]"
,
"key
[
member [member ...]
]
"
,
"Returns members of a geospatial index as standard geohash strings"
,
13
,
"3.2.0"
},
{
"GEOPOS"
,
"key member [member ...]"
,
"key
[
member [member ...]
]
"
,
"Returns longitude and latitude of members of a geospatial index"
,
13
,
"3.2.0"
},
{
"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"
,
13
,
"3.2.0"
},
{
"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"
,
13
,
"3.2.0"
},
...
...
@@ -885,7 +900,7 @@ struct commandHelp {
9
,
"2.8.13"
},
{
"LCS"
,
"key1 key2 [LEN] [IDX] [MINMATCHLEN len] [WITHMATCHLEN]"
,
"key1 key2 [LEN] [IDX] [MINMATCHLEN
min-match-
len] [WITHMATCHLEN]"
,
"Find longest common substring"
,
1
,
"7.0.0"
},
...
...
@@ -1000,7 +1015,7 @@ struct commandHelp {
1
,
"1.0.0"
},
{
"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."
,
0
,
"2.6.0"
},
...
...
@@ -1025,7 +1040,7 @@ struct commandHelp {
9
,
"4.0.0"
},
{
"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"
,
9
,
"7.0.0"
},
...
...
@@ -1450,12 +1465,12 @@ struct commandHelp {
3
,
"1.0.0"
},
{
"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"
,
0
,
"1.0.0"
},
{
"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."
,
0
,
"7.0.0"
},
...
...
@@ -1569,6 +1584,11 @@ struct commandHelp {
"Wait for the synchronous replication of all the write commands sent in the context of the current connection"
,
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"
,
"key [key ...]"
,
"Watch the given keys to determine execution of the MULTI/EXEC block"
,
...
...
@@ -1590,7 +1610,7 @@ struct commandHelp {
14
,
"6.2.0"
},
{
"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."
,
14
,
"5.0.0"
},
...
...
@@ -1605,22 +1625,22 @@ struct commandHelp {
14
,
"5.0.0"
},
{
"XGROUP CREATE"
,
"key group
name
id|$ [MKSTREAM] [ENTRIESREAD entries
_
read]"
,
"key group id|$ [MKSTREAM] [ENTRIESREAD entries
-
read]"
,
"Create a consumer group."
,
14
,
"5.0.0"
},
{
"XGROUP CREATECONSUMER"
,
"key group
name
consumer
name
"
,
"key group consumer"
,
"Create a consumer in a consumer group."
,
14
,
"6.2.0"
},
{
"XGROUP DELCONSUMER"
,
"key group
name
consumer
name
"
,
"key group consumer"
,
"Delete a consumer from a consumer group."
,
14
,
"5.0.0"
},
{
"XGROUP DESTROY"
,
"key group
name
"
,
"key group"
,
"Destroy a consumer group."
,
14
,
"5.0.0"
},
...
...
@@ -1630,7 +1650,7 @@ struct commandHelp {
14
,
"5.0.0"
},
{
"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."
,
14
,
"5.0.0"
},
...
...
@@ -1640,7 +1660,7 @@ struct commandHelp {
14
,
"5.0.0"
},
{
"XINFO CONSUMERS"
,
"key group
name
"
,
"key group"
,
"List the consumers in a consumer group"
,
14
,
"5.0.0"
},
...
...
@@ -1690,7 +1710,7 @@ struct commandHelp {
14
,
"5.0.0"
},
{
"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"
,
14
,
"5.0.0"
},
...
...
@@ -1795,7 +1815,7 @@ struct commandHelp {
4
,
"6.2.0"
},
{
"ZRANK"
,
"key member"
,
"key member
[WITHSCORE]
"
,
"Determine the index of a member in a sorted set"
,
4
,
"2.0.0"
},
...
...
@@ -1835,7 +1855,7 @@ struct commandHelp {
4
,
"2.2.0"
},
{
"ZREVRANK"
,
"key member"
,
"key member
[WITHSCORE]
"
,
"Determine the index of a member in a sorted set, with scores ordered from high to low"
,
4
,
"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