File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4172,17 +4172,17 @@ def zadd(
4172
4172
the existing score will be incremented by. When using this mode the
4173
4173
return value of ZADD will be the new score of the element.
4174
4174
4175
- ``LT `` Only update existing elements if the new score is less than
4175
+ ``lt `` only updates existing elements if the new score is less than
4176
4176
the current score. This flag doesn't prevent adding new elements.
4177
4177
4178
- ``GT `` Only update existing elements if the new score is greater than
4178
+ ``gt `` only updates existing elements if the new score is greater than
4179
4179
the current score. This flag doesn't prevent adding new elements.
4180
4180
4181
4181
The return value of ZADD varies based on the mode specified. With no
4182
4182
options, ZADD returns the number of new elements added to the sorted
4183
4183
set.
4184
4184
4185
- ``NX ``, ``LT ``, and ``GT `` are mutually exclusive options.
4185
+ ``nx ``, ``lt ``, and ``gt `` are mutually exclusive options.
4186
4186
4187
4187
See: https://redis.io/commands/ZADD
4188
4188
"""
You can’t perform that action at this time.
0 commit comments