Writes the difference between sets to a new key.
const values = await redis.zdiffstore("destination", 2, "key1", "key2");
The key to write the difference to.
How many keys to compare.
The keys to compare.
The number of elements in the resulting set.
Was this page helpful?