小白教程
所有教程
关于
Search
172.69.59.133
172.69.59.133
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Hyperloglog pfadd”的源代码
本页内容
下一节:
Hyperloglog_pfcount
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:PFADD key element [element ...]}}[[Category:redis hyperloglog|1]] = Redis Pfadd 命令 = [[redis hyperloglog|Redis HyperLogLog]] Redis Pfadd 命令将所有元素参数添加到 HyperLogLog 数据结构中。 === 语法 === redis Pfadd 命令基本语法如下: <sample title="" desc="" lang="redis" hererun="1"> redis 127.0.0.1:6379> PFADD key element [element ...] </sample> === 可用版本 === >= 2.8.9 === 返回值 === 整型,如果至少有个元素被添加返回 1, 否则返回 0。 == <sample title="" desc="" lang="redis" hererun="1"> redis 127.0.0.1:6379> PFADD mykey a b c d e f g h i j (integer) 1 redis 127.0.0.1:6379> PFCOUNT mykey (integer) 10 </sample> [[redis hyperloglog|Redis HyperLogLog]]
返回至“
Hyperloglog pfadd
”。
下一节:
Hyperloglog_pfcount