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
38272f96
Commit
38272f96
authored
Oct 30, 2012
by
antirez
Browse files
help.h update (adds bitop, bitcount, evalsha...)
parent
6c7e957d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/help.h
View file @
38272f96
...
@@ -44,6 +44,16 @@ struct commandHelp {
...
@@ -44,6 +44,16 @@ struct commandHelp {
"Asynchronously save the dataset to disk"
,
"Asynchronously save the dataset to disk"
,
9
,
9
,
"1.0.0"
},
"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"
,
{
"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"
,
...
@@ -59,6 +69,16 @@ struct commandHelp {
...
@@ -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"
,
"Pop a value from a list, push it to another list and return it; or block until one is available"
,
2
,
2
,
"2.2.0"
},
"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"
,
{
"CONFIG GET"
,
"parameter"
,
"parameter"
,
"Get the value of a configuration parameter"
,
"Get the value of a configuration parameter"
,
...
@@ -111,7 +131,7 @@ struct commandHelp {
...
@@ -111,7 +131,7 @@ struct commandHelp {
"2.0.0"
},
"2.0.0"
},
{
"DUMP"
,
{
"DUMP"
,
"key"
,
"key"
,
"Return a serialized ver
i
son of the value stored at the specified key."
,
"Return a serialized vers
i
on of the value stored at the specified key."
,
0
,
0
,
"2.6.0"
},
"2.6.0"
},
{
"ECHO"
,
{
"ECHO"
,
...
@@ -124,6 +144,11 @@ struct commandHelp {
...
@@ -124,6 +144,11 @@ struct commandHelp {
"Execute a Lua script server side"
,
"Execute a Lua script server side"
,
10
,
10
,
"2.6.0"
},
"2.6.0"
},
{
"EVALSHA"
,
"sha1 numkeys key [key ...] arg [arg ...]"
,
"Execute a Lua script server side"
,
10
,
"2.6.0"
},
{
"EXEC"
,
{
"EXEC"
,
"-"
,
"-"
,
"Execute all commands issued after MULTI"
,
"Execute all commands issued after MULTI"
,
...
@@ -575,8 +600,8 @@ struct commandHelp {
...
@@ -575,8 +600,8 @@ struct commandHelp {
3
,
3
,
"1.0.0"
},
"1.0.0"
},
{
"SRANDMEMBER"
,
{
"SRANDMEMBER"
,
"key"
,
"key
[count]
"
,
"Get
a
random member from a set"
,
"Get
one or multiple
random member
s
from a set"
,
3
,
3
,
"1.0.0"
},
"1.0.0"
},
{
"SREM"
,
{
"SREM"
,
...
...
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