SINTER
Returns members shared by the input sets.
Sets · Example verified
Syntax covered here
SINTER key1 key2A missing input key makes the tested intersection empty.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: default
> SADD team a
1
# connection: default
> SINTER team other
[]