Skip to content
masterclass Buddy

Upstash · Method

redis.mset

MSET writes several key-value pairs in one atomic call. It returns OK when the operation succeeds.

Last updated

Syntax

MSET <key> <value> [<key> <value> ...]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • MGET
  • MSETNX
  • SET

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