TOPK.INCRBY
TOPK.INCRBY key item increment [item increment ...]
Increase the score of an item in the data structure by increment. Multiple items' score can be increased at once. If an item enters the Top-K list, the item which is expelled is returned.
Array reply of Simple string reply - if an element was dropped from the TopK list, Null reply otherwise..
@example
redis> TOPK.INCRBY topk foo 3 bar 2 42 30 1) (nil) 2) (nil) 3) foo
© 2006–2022 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/topk.incrby/