Closed kay011 closed 7 months ago
From version 7.0.0, Redis added the BYTE|BIT option for BITCOUNT.
For example:
127.0.0.1:6379> setbit mykey 7 1 (integer) 0 127.0.0.1:6379> setbit mykey 6 1 (integer) 0 127.0.0.1:6379> bitcount mykey 6 7 (integer) 0 127.0.0.1:6379> bitcount mykey 6 7 bit (integer) 2 127.0.0.1:6379> bitcount mykey 6 7 byte (integer) 0
But go-redis does't support this option in lastest version.
Can be closed by https://github.com/redis/go-redis/pull/2887
From version 7.0.0, Redis added the BYTE|BIT option for BITCOUNT.
For example:
But go-redis does't support this option in lastest version.