Arguments
Response
1 if all keys were set, 0 if at least one key was not set.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
redis.msetnx({
key1: 1,
key2: "hello",
key3: { a: 1, b: "hello" },
})
Set multiple keys in one go unless they exist already.
1 if all keys were set, 0 if at least one key was not set.redis.msetnx({
key1: 1,
key2: "hello",
key3: { a: 1, b: "hello" },
})
Was this page helpful?