Storing Set in Redis: Modification Commands
Learn how to modify data in a Set in Redis
We'll cover the following...
SUNION
command
As the name suggests, the SUNION
command is used to find the union of two or more sets.
SUNION key1 key2 key3 …
In the example below, we have found the union of the fruits and fruits1 keys.