...

/

Storing Set in Redis: Modification Commands

Storing Set in Redis: Modification Commands

Learn how to modify data in a Set in Redis

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.

SREM command

...