Upstash · Method
redis.lpush
LPUSH adds one or more values to the front of a Redis list. It returns the list length after the operation and reverses the order of multiple arguments in the resulting list.
Last updated
Syntax
LPUSH <key> <element> [<element> ...]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
RPOPLPOPLTRIMLPUSHXLRANGE