Skip to content
masterclass Buddy

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.

Subscribe
  • RPOP
  • LPOP
  • LTRIM
  • LPUSHX
  • LRANGE

Source: LPUSH - Upstash Documentation. Checked 2026-11-03.