Arguments#
The key of the sorted set.
options#
Only update elements that already exist. Never add elements.
Only add new elements. Never update elements.
Return the number of elements added or updated.
When this option is specified ZADD acts like ZINCRBY. Only one score-element pair can be specified in this mode.
Only update existing elements if the new score is greater than the current score. Add element without a check if it does not exist.
Only update existing elements if the new score is less than the current score. Add element without a check if it does not exist.