From e0d0ff20c7861e4f6f01a00f733ce403de78b297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=BA=E8=83=BD=E5=A4=A7=E7=9F=B3=E5=A4=B4?= Date: Mon, 5 May 2025 08:17:42 +0800 Subject: [PATCH] =?UTF-8?q?PFCOUNT=E5=9C=A8=E6=8A=80=E6=9C=AF=E4=B8=8A?= =?UTF-8?q?=E6=98=AF=E5=86=99=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NewLife.Redis/HyperLogLog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewLife.Redis/HyperLogLog.cs b/NewLife.Redis/HyperLogLog.cs index cfc81f9..71e1f90 100644 --- a/NewLife.Redis/HyperLogLog.cs +++ b/NewLife.Redis/HyperLogLog.cs @@ -32,7 +32,7 @@ public class HyperLogLog : RedisBase /// 返回存储在HyperLogLog结构体的该变量的近似基数,如果该变量不存在,则返回0。 /// 当参数为多个key时,返回这些HyperLogLog并集的近似基数,这个值是将所给定的所有key的HyperLoglog结构合并到一个临时的HyperLogLog结构中计算而得到的。 /// - public Int32 Count => Execute((rc, k) => rc.Execute("PFCOUNT", Key)); + public Int32 Count => Execute((rc, k) => rc.Execute("PFCOUNT", Key), true); /// 合并 ///