Redis · Command
LSET
LSET replaces an existing value in a Redis list at a specified index. Indexes start at zero, and negative indexes count from the end.
Last updated
- Since
- 1.0.0
Syntax
LSET key index elementIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
BLMOVEBLMPOPBLPOPBRPOPBRPOPLPUSHLINDEXLINSERTLLEN