kevy4.0

SUNIONSTORE

Store the union of the given sets into destination.

SUNIONSTORE destination key [key ...]
Group
Set
Since
1.0.0
Arity
at least 3
Flags
write

Complexity

O(sum of the source cardinalities) + O(result)

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

SADDSCARDSDIFFSDIFFSTORESINTERSINTERSTORESISMEMBERSMEMBERSSPOPSRANDMEMBERSREMSSCANSUNION

← All commands