File: BITMAP.md

package info (click to toggle)
python-fakeredis 2.29.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,772 kB
  • sloc: python: 19,002; sh: 8; makefile: 5
file content (28 lines) | stat: -rw-r--r-- 719 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Redis `bitmap` commands (6/6 implemented)

## [BITCOUNT](https://redis.io/commands/bitcount/)

Counts the number of set bits (population counting) in a string.

## [BITFIELD](https://redis.io/commands/bitfield/)

Performs arbitrary bitfield integer operations on strings.

## [BITOP](https://redis.io/commands/bitop/)

Performs bitwise operations on multiple strings, and stores the result.

## [BITPOS](https://redis.io/commands/bitpos/)

Finds the first set (1) or clear (0) bit in a string.

## [GETBIT](https://redis.io/commands/getbit/)

Returns a bit value by offset.

## [SETBIT](https://redis.io/commands/setbit/)

Sets or clears the bit at offset of the string value. Creates the key if it doesn't exist.