- Overall
- Quickstarts
- Features
- SDKs
- Typescript
- Python
- Ratelimit (TS)
- Ratelimit (PY)
- How To
- Integrations
- Tutorials
- Troubleshooting
- Help
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" },
});