Skip to content

R64.DELETEINTARRAY

CategoryDescription
SyntaxR64.DELETEINTARRAY key offset [offset1 offset2 ... offsetN]
Time complexityO(C)
Supports structuresBitmap64
Command descriptionSets the value of the specified bit in a Roaring key to 0.

Parameter

  • key: The name of the Roaring bitmap key.
  • offset: An integer that represents the offset of the bit to be set, with a value range of 0 ~ 2^64.

Output

  • If the operation is successful, OK is returned.
  • If the key does not exist, OK is returned.
  • Otherwise, an error message is returned.

Examples

Basic Usage

bash
$ redis-cli
127.0.0.1:6379> R64.SETINTARRAY foo 1 2 3
OK
127.0.0.1:6379> R64.DELETEINTARRAY foo 1 3
OK
127.0.0.1:6379> R64.GETINTARRAY foo
(integer) 2