kevy

BITCOUNT

Count set bits in a string, optionally over a byte range.

语法BITCOUNT key [start end]
分组string
参数个数-2
起始版本1.0.0
标志readonly
复杂度O(N) over the counted bytes
Redis 兼容性differs: the BYTE / BIT unit argument of Redis 7.0 is not accepted — ranges are byte offsets

← 全部命令