MGET
Load multiple keys at once. For billing purposes, this counts as a single command. If a key is not found, it will be returned asnull, so you might end up with null values in your response array.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
null, so you might end up with null values in your response array.
const values = await redis.mget("key1", "key2", "key3");
await redis.mset({
key1: { a: 1 },
key2: "value2",
key3: true,
});
Was this page helpful?