SDIFFSTORE
Store the difference of the given sets into destination.
SDIFFSTORE destination key [key ...]
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