Arguments
string
required
The key to write the difference to.
integer
required
How many keys to compare.
...string[]
required
The keys to compare.
Response
The number of elements in the resulting set.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
const values = await redis.zdiffstore("destination", 2, "key1", "key2");
Writes the difference between sets to a new key.
const values = await redis.zdiffstore("destination", 2, "key1", "key2");
Was this page helpful?