Google News
logo
Redis - Quiz(MCQ)
Which of the following commands will give you the index of a member in a sorted set?
A)
SINDEX KEY
B)
ZINDEX KEY
C)
ZRANK KEY MEMBER
D)
INDEXSORTED KEY MEMBER

Correct Answer :   ZRANK KEY MEMBER


Explanation : ZRANK Key member command will give you the index of a member in a sorted set.

Advertisement