mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
help.h update (adds bitop, bitcount, evalsha...)
This commit is contained in:
parent
c5cca554d9
commit
08a4f12e76
31
src/help.h
31
src/help.h
@ -44,6 +44,16 @@ struct commandHelp {
|
||||
"Asynchronously save the dataset to disk",
|
||||
9,
|
||||
"1.0.0" },
|
||||
{ "BITCOUNT",
|
||||
"key [start] [end]",
|
||||
"Count set bits in a string",
|
||||
1,
|
||||
"2.6.0" },
|
||||
{ "BITOP",
|
||||
"operation destkey key [key ...]",
|
||||
"Perform bitwise operations between strings",
|
||||
1,
|
||||
"2.6.0" },
|
||||
{ "BLPOP",
|
||||
"key [key ...] timeout",
|
||||
"Remove and get the first element in a list, or block until one is available",
|
||||
@ -59,6 +69,16 @@ struct commandHelp {
|
||||
"Pop a value from a list, push it to another list and return it; or block until one is available",
|
||||
2,
|
||||
"2.2.0" },
|
||||
{ "CLIENT KILL",
|
||||
"ip:port",
|
||||
"Kill the connection of a client",
|
||||
9,
|
||||
"2.4.0" },
|
||||
{ "CLIENT LIST",
|
||||
"-",
|
||||
"Get the list of client connections",
|
||||
9,
|
||||
"2.4.0" },
|
||||
{ "CONFIG GET",
|
||||
"parameter",
|
||||
"Get the value of a configuration parameter",
|
||||
@ -111,7 +131,7 @@ struct commandHelp {
|
||||
"2.0.0" },
|
||||
{ "DUMP",
|
||||
"key",
|
||||
"Return a serialized verison of the value stored at the specified key.",
|
||||
"Return a serialized version of the value stored at the specified key.",
|
||||
0,
|
||||
"2.6.0" },
|
||||
{ "ECHO",
|
||||
@ -124,6 +144,11 @@ struct commandHelp {
|
||||
"Execute a Lua script server side",
|
||||
10,
|
||||
"2.6.0" },
|
||||
{ "EVALSHA",
|
||||
"sha1 numkeys key [key ...] arg [arg ...]",
|
||||
"Execute a Lua script server side",
|
||||
10,
|
||||
"2.6.0" },
|
||||
{ "EXEC",
|
||||
"-",
|
||||
"Execute all commands issued after MULTI",
|
||||
@ -575,8 +600,8 @@ struct commandHelp {
|
||||
3,
|
||||
"1.0.0" },
|
||||
{ "SRANDMEMBER",
|
||||
"key",
|
||||
"Get a random member from a set",
|
||||
"key [count]",
|
||||
"Get one or multiple random members from a set",
|
||||
3,
|
||||
"1.0.0" },
|
||||
{ "SREM",
|
||||
|
Loading…
Reference in New Issue
Block a user