diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-17 07:34:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-17 07:34:57 +0000 |
commit | d71fd6264d58795c50b9350d7c39677b671e0896 (patch) | |
tree | 0aa9e0bd923a00b9ddda4e01af55a76ed314097c /iredis/data/commands/setbit.md | |
parent | Releasing debian version 1.9.1-3. (diff) | |
download | iredis-d71fd6264d58795c50b9350d7c39677b671e0896.tar.xz iredis-d71fd6264d58795c50b9350d7c39677b671e0896.zip |
Merging upstream version 1.9.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/data/commands/setbit.md')
-rw-r--r-- | iredis/data/commands/setbit.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/iredis/data/commands/setbit.md b/iredis/data/commands/setbit.md index a6b64f2..6f3a553 100644 --- a/iredis/data/commands/setbit.md +++ b/iredis/data/commands/setbit.md @@ -1,7 +1,8 @@ Sets or clears the bit at _offset_ in the string value stored at _key_. -The bit is either set or cleared depending on _value_, which can be either 0 -or 1. +The bit is either set or cleared depending on _value_, which can be either 0 or + +1. When _key_ does not exist, a new string value is created. The string is grown to make sure it can hold a bit at _offset_. The _offset_ argument is required to be |