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

← すべてのコマンド