Skip to main content

ZINTERSTORE

Writes the intersection between sets to a new key.
1 min read

Arguments#

destinationstringrequired#

The key to write the intersection to.

keysintegerrequired#

How many keys to compare.

keysstring | string[]required#

The keys to compare.

options#
aggregatesum | min | max#

The aggregation method.

weightnumber#

The weight to apply to each key.

weightsnumber[]#

The weights to apply to each key.

Response#

required

The number of elements in the resulting set.

Was this page helpful?