Skip to content

Commit e6027e9

Browse files
committed
PFCOUNT: Improve doc.
1 parent fd41f20 commit e6027e9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/redis.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2481,7 +2481,10 @@ def pfadd(key, member)
24812481

24822482
# Get the approximate cardinality of members added to HyperLogLog structure.
24832483
#
2484-
# @param [String] key
2484+
# If called with multiple keys, returns the approximate cardinality of the
2485+
# union of the HyperLogLogs contained in the keys.
2486+
#
2487+
# @param [String, Array<String>] keys
24852488
# @return [Fixnum]
24862489
def pfcount(*keys)
24872490
synchronize do |client|

0 commit comments

Comments
 (0)