String
MSET
Set multiple keys in one go.
For billing purposes, this counts as a single command.
Arguments
paramsbodyRecord<string, TValue>required
An object where the keys are the keys to set, and the values are the values to set.
Response
stringrequired
"OK"
Example
await redis.mset({ key1: 1, key2: "hello", key3: { a: 1, b: "hello" },});