Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 451 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 451 Bytes

BITFIELD

  • BITFIELD treats a Redis string as a array of bits
  • Is capable of addressing specific integer fields of varying bit widths and arbitrary non (necessary) aligned offset 
  • Are not an actual data type.

Similarly the command handles increments and decrements of the specified integers

> BITFIELD mykey incrby i5 100 1 get u4 0
1) (integer) 1
2) (integer) 0