BITS Intro

Apply for Redis Developer Course Redis Regular Inspection / Technical Support Redis Enterprise Server

key-value

Strings have a one-to-one relationship between key and value.
Lists, Sets, Sorted Sets, and Hashes have a one-to-many relationship.

Bits command list

CommandsVersionSyntaxDescription
GETBIT2.2.0key offsetGet a bit value
SETBIT2.2.0key offset valueSet a bit value
BITCOUNT2.6.0key [start end]Count bits that are 1
BITOP2.6.0key operation destkey key [key ...]Run bit operations (AND, OR, XOR, NOT)
BITPOS2.8.7key bit [start [end]]Find the position of the specified bit
BITFIELD3.2.0key [GET type offset] [SET type offset value] Perform arbitrary bitfield integer operations on strings

Total : 6



<< RECYCLEBIN BITS Intro SETBIT >>

Email 답글이 올라오면 이메일로 알려드리겠습니다.