redis.sadd("set1", "a", "b", "c"); redis.sadd("set2", "c", "d", "e"); assert redis.sinter("destination", "set1", "set2") == 1
Return the intersection between sets and store the resulting set in a key
Was this page helpful?