Skip to content

Commit

Permalink
Update redis-data-structures-02.md
Browse files Browse the repository at this point in the history
'start 和 end 之间' 比 'start 和 end 之前' 更易于理解,不易产生误解。
  • Loading branch information
chingwl authored Sep 8, 2024
1 parent 223fd4f commit 9deb83c
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 9deb83c

Please sign in to comment.