Upstash Documentation

ZINTERSTORE

Calculates the intersection of sets and stores the result in a key
1 min read

Arguments#

destinationstrrequired#

The key to store the result in.

keysList[str]required#

The keys of the sets to compare.

weightsList[float]#

The weights to apply to the sets.

Default: "None"

aggregate"SUM" | "MIN" | "MAX"#

The aggregation function to apply to the sets.

Default: "sum"

withscoresbool#

Whether to include scores in the result.

Default: "false"

Response#

Response#