Home / node / Commands / enumerations / BitOverflowControl @valkey/valkey-glide
@valkey/valkey-glide / Commands / BitOverflowControl
Enumeration: BitOverflowControl
Enumeration specifying bit overflow controls for the bitfield command.
Enumeration Members
FAIL
FAIL:
"FAIL"
Returns None
when overflows occur.
SAT
SAT:
"SAT"
Underflows remain set to the minimum value, and overflows remain set to the maximum value.
WRAP
WRAP:
"WRAP"
Performs modulo when overflows occur with unsigned encoding. When overflows occur with signed encoding, the value restarts at the most negative value. When underflows occur with signed encoding, the value restarts at the most positive value.