Skip to content

Commit

Permalink
Merge pull request #2478 from chingwl/chingwl-patch-1
Browse files Browse the repository at this point in the history
Update redis-data-structures-02.md
  • Loading branch information
Snailclimb authored Sep 8, 2024
2 parents 223fd4f + 9deb83c commit 94bf6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/database/redis/redis-data-structures-02.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Bitmap 存储的是连续的二进制数字(0 和 1),通过 Bitmap, 只需
| ------------------------------------- | ---------------------------------------------------------------- |
| SETBIT key offset value | 设置指定 offset 位置的值 |
| GETBIT key offset | 获取指定 offset 位置的值 |
| BITCOUNT key start end | 获取 start 和 end 之前值为 1 的元素个数 |
| BITCOUNT key start end | 获取 start 和 end 之间值为 1 的元素个数 |
| BITOP operation destkey key1 key2 ... | 对一个或多个 Bitmap 进行运算,可用运算符有 AND, OR, XOR 以及 NOT |

**Bitmap 基本操作演示**
Expand Down

0 comments on commit 94bf6cb

Please sign in to comment.