Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xindoo
redis
提交
20c040d3
R
redis
项目概览
xindoo
/
redis
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
redis
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
20c040d3
编写于
4月 22, 2014
作者:
A
antirez
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
redis-cli help.h updated.
上级
9eeb03e5
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
73 addition
and
2 deletion
+73
-2
src/help.h
src/help.h
+73
-2
未找到文件。
src/help.h
浏览文件 @
20c040d3
...
...
@@ -14,7 +14,8 @@ static char *commandGroups[] = {
"transactions"
,
"connection"
,
"server"
,
"scripting"
"scripting"
,
"hyperloglog"
};
struct
commandHelp
{
...
...
@@ -54,6 +55,11 @@ struct commandHelp {
"Perform bitwise operations between strings"
,
1
,
"2.6.0"
},
{
"BITPOS"
,
"key bit [start] [end]"
,
"Find first bit set or clear in a string"
,
1
,
"2.8.7"
},
{
"BLPOP"
,
"key [key ...] timeout"
,
"Remove and get the first element in a list, or block until one is available"
,
...
...
@@ -84,6 +90,11 @@ struct commandHelp {
"Get the list of client connections"
,
9
,
"2.4.0"
},
{
"CLIENT PAUSE"
,
"timeout"
,
"Stop processing commands from clients for some time"
,
9
,
"2.9.50"
},
{
"CLIENT SETNAME"
,
"connection-name"
,
"Set the current connection name"
,
...
...
@@ -99,6 +110,11 @@ struct commandHelp {
"Reset the stats returned by INFO"
,
9
,
"2.0.0"
},
{
"CONFIG REWRITE"
,
"-"
,
"Rewrite the configuration file with the in memory configuration"
,
9
,
"2.8.0"
},
{
"CONFIG SET"
,
"parameter value"
,
"Set a configuration parameter to the given value"
,
...
...
@@ -259,6 +275,11 @@ struct commandHelp {
"Set multiple hash fields to multiple values"
,
5
,
"2.0.0"
},
{
"HSCAN"
,
"key cursor [MATCH pattern] [COUNT count]"
,
"Incrementally iterate hash fields and associated values"
,
5
,
"2.8.0"
},
{
"HSET"
,
"key field value"
,
"Set the string value of a hash field"
,
...
...
@@ -360,7 +381,7 @@ struct commandHelp {
1
,
"1.0.0"
},
{
"MIGRATE"
,
"host port key destination-db timeout"
,
"host port key destination-db timeout
[COPY] [REPLACE]
"
,
"Atomically transfer a key from a Redis instance to another one."
,
0
,
"2.6.0"
},
...
...
@@ -409,6 +430,21 @@ struct commandHelp {
"Set the expiration for a key as a UNIX timestamp specified in milliseconds"
,
0
,
"2.6.0"
},
{
"PFADD"
,
"key element [element ...]"
,
"Adds the specified elements to the specified HyperLogLog."
,
11
,
"2.8.9"
},
{
"PFCOUNT"
,
"key [key ...]"
,
"Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s)."
,
11
,
"2.8.9"
},
{
"PFMERGE"
,
"destkey sourcekey [sourcekey ...]"
,
"Merge N different HyperLogLogs into a single one."
,
11
,
"2.8.9"
},
{
"PING"
,
"-"
,
"Ping the server"
,
...
...
@@ -434,6 +470,11 @@ struct commandHelp {
"Post a message to a channel"
,
6
,
"2.0.0"
},
{
"PUBSUB"
,
"subcommand [argument [argument ...]]"
,
"Inspect the state of the Pub/Sub subsystem"
,
6
,
"2.8.0"
},
{
"PUNSUBSCRIBE"
,
"[pattern [pattern ...]]"
,
"Stop listening for messages posted to channels matching the given patterns"
,
...
...
@@ -494,6 +535,11 @@ struct commandHelp {
"Synchronously save the dataset to disk"
,
9
,
"1.0.0"
},
{
"SCAN"
,
"cursor [MATCH pattern] [COUNT count]"
,
"Incrementally iterate the keys space"
,
0
,
"2.8.0"
},
{
"SCARD"
,
"key"
,
"Get the number of members in a set"
,
...
...
@@ -619,6 +665,11 @@ struct commandHelp {
"Remove one or more members from a set"
,
3
,
"1.0.0"
},
{
"SSCAN"
,
"key cursor [MATCH pattern] [COUNT count]"
,
"Incrementally iterate Set elements"
,
3
,
"2.8.0"
},
{
"STRLEN"
,
"key"
,
"Get the length of the value stored in a key"
,
...
...
@@ -699,11 +750,21 @@ struct commandHelp {
"Intersect multiple sorted sets and store the resulting sorted set in a new key"
,
4
,
"2.0.0"
},
{
"ZLEXCOUNT"
,
"key min max"
,
"Count the number of members in a sorted set between a given lexicographical range"
,
4
,
"2.8.9"
},
{
"ZRANGE"
,
"key start stop [WITHSCORES]"
,
"Return a range of members in a sorted set, by index"
,
4
,
"1.2.0"
},
{
"ZRANGEBYLEX"
,
"key min max [LIMIT offset count]"
,
"Return a range of members in a sorted set, by lexicographical range"
,
4
,
"2.8.9"
},
{
"ZRANGEBYSCORE"
,
"key min max [WITHSCORES] [LIMIT offset count]"
,
"Return a range of members in a sorted set, by score"
,
...
...
@@ -719,6 +780,11 @@ struct commandHelp {
"Remove one or more members from a sorted set"
,
4
,
"1.2.0"
},
{
"ZREMRANGEBYLEX"
,
"key min max"
,
"Remove all members in a sorted set between the given lexicographical range"
,
4
,
"2.8.9"
},
{
"ZREMRANGEBYRANK"
,
"key start stop"
,
"Remove all members in a sorted set within the given indexes"
,
...
...
@@ -744,6 +810,11 @@ struct commandHelp {
"Determine the index of a member in a sorted set, with scores ordered from high to low"
,
4
,
"2.0.0"
},
{
"ZSCAN"
,
"key cursor [MATCH pattern] [COUNT count]"
,
"Incrementally iterate sorted sets elements and associated scores"
,
4
,
"2.8.0"
},
{
"ZSCORE"
,
"key member"
,
"Get the score associated with the given member in a sorted set"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录