redis/sinter

Set Intersection

Find common members

set
data-structure

Command

SINTER key1 key2

Explanation

Returns the members of the set resulting from the intersection of all given sets.

Examples

Find common elements

SINTER set1 set2