kevy4.0

SDIFFSTORE

Store the difference of the given sets into destination.

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

Complexity

O(sum of the source cardinalities) + O(result) to write the destination on its own shard

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

SADDSCARDSDIFFSINTERSINTERSTORESISMEMBERSMEMBERSSPOPSRANDMEMBERSREMSSCANSUNIONSUNIONSTORE

← All commands