kevy4.0

ZUNIONSTORE

Store the union of the given sorted sets into destination.

ZUNIONSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]
Group
Sorted set
Since
1.0.0
Arity
at least 4
Flags
write

Complexity

O(sum of the source cardinalities + R log R)

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Compatible

Behaves as Redis does.

See also

BZPOPMINZADDZCARDZCOUNTZDIFFSTOREZINCRBYZINTERCARDZINTERSTOREZPOPMINZPOPMIN.BELOWZRANGEZRANGEBYSCOREZRANKZREMZREMRANGEBYRANKZREMRANGEBYSCOREZREVRANGEBYSCOREZSCANZSCORE

← All commands