Sorted Set
ZINTERSTORE
Writes the intersection between sets to a new key.
Arguments
destination
string
requiredThe key to write the intersection to.
keys
integer
requiredHow many keys to compare.
keys
string | string[]
requiredThe keys to compare.
options
aggregate
sum | min | max
The aggregation method.
weight
number
The weight to apply to each key.
weights
number[]
The weights to apply to each key.
Response
The number of elements in the resulting set.