Overall
SDKs
- Typescript
- @upstash/redis
- @upstash/query
- @upstash/vector
- @upstash/edge-flags
- @upstash/ratelimit
- @upstash/kafka
- @upstash/qstash
- Python
DevOps
- Terraform
- Pulumi
- CLI
String
MSET
Set multiple keys in one go.
await redis.mset({
key1: 1,
key2: "hello",
key3: { a: 1, b: "hello" },
});
For billing purposes, this counts as a single command.
Arguments
Response
“OK”
await redis.mset({
key1: 1,
key2: "hello",
key3: { a: 1, b: "hello" },
});
Was this page helpful?
await redis.mset({
key1: 1,
key2: "hello",
key3: { a: 1, b: "hello" },
});