mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 09:17:20 +00:00
parent
c3b9f2fbd9
commit
5a76e818c6
84
src/help.h
84
src/help.h
@ -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.50" },
|
||||
"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 storekey] [STOREDIST storedistkey]",
|
||||
"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 storekey] [STOREDIST storedistkey]",
|
||||
"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 keys [keys ...]]",
|
||||
"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 args [args ...]]",
|
||||
"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 groupname id|$ [MKSTREAM] [ENTRIESREAD entries_read]",
|
||||
"key group id|$ [MKSTREAM] [ENTRIESREAD entries-read]",
|
||||
"Create a consumer group.",
|
||||
14,
|
||||
"5.0.0" },
|
||||
{ "XGROUP CREATECONSUMER",
|
||||
"key groupname consumername",
|
||||
"key group consumer",
|
||||
"Create a consumer in a consumer group.",
|
||||
14,
|
||||
"6.2.0" },
|
||||
{ "XGROUP DELCONSUMER",
|
||||
"key groupname consumername",
|
||||
"key group consumer",
|
||||
"Delete a consumer from a consumer group.",
|
||||
14,
|
||||
"5.0.0" },
|
||||
{ "XGROUP DESTROY",
|
||||
"key groupname",
|
||||
"key group",
|
||||
"Destroy a consumer group.",
|
||||
14,
|
||||
"5.0.0" },
|
||||
@ -1630,7 +1650,7 @@ struct commandHelp {
|
||||
14,
|
||||
"5.0.0" },
|
||||
{ "XGROUP SETID",
|
||||
"key groupname 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 groupname",
|
||||
"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" },
|
||||
|
Loading…
Reference in New Issue
Block a user