SDIFFSTORE destination key [key ...]
- Available since:
- Time complexity:
- O(N) where N is the total number of elements in all given sets.
- ACL categories:
This command is equal to
SDIFF, but instead of returning the resulting set, it
is stored in
destination already exists, it is overwritten.
Integer reply: the number of elements in the resulting set.