Msdiffstore
Bun

method

RedisClient.sdiffstore

destination: KeyLike,
key: KeyLike,
...keys: KeyLike[]
): Promise<number>;

Store the difference of multiple sets in a key

@param destination

The destination key to store the result

@param key

The first set key

@param keys

Additional set keys to subtract from the first set

@returns

Promise that resolves with the number of elements in the resulting set

Referenced types

type KeyLike = string | ArrayBufferView | Blob