Google News
logo
Redis - Quiz(MCQ)
Suppose you are asked to intersect multiple sets and store the resulting set in a key, in this situation which of the following commands will you use?
A)
SSTOREINTER destination key1 [key2]
B)
SINTERSTORE destination key1 [key2]
C)
SINTERSECT destination key1 [key2]
D)
INTERSECTSTORE destination key1 [key2]

Correct Answer :   SINTERSTORE destination key1 [key2]


Explanation : SINTERSTORE destination key1 [key2] is the command you will use in a situation where you are asked to intersect multiple sets and store the resulting set in a key.

Advertisement