Arguments
Record<string, TValue>
required
An object where the keys are the keys to set, and the values are the values to set.
Response
“OK”
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
await redis.mset({
key1: 1,
key2: "hello",
key3: { a: 1, b: "hello" },
});
Set multiple keys in one go.
await redis.mset({
key1: 1,
key2: "hello",
key3: { a: 1, b: "hello" },
});
Was this page helpful?