SINTERSTORE
Stores the intersection of input sets.
Sets · Example verified
Syntax covered here
SINTERSTORE destination key1 key2The verified operation reports an empty result when one source key is missing.
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
> SINTERSTORE result team other
0