Google News
logo
Redis - Quiz(MCQ)
Which of the following command is used to Changes the key name?
A)
TYPE key
B)
RANDOMKEY
C)
RENAME key newkey
D)
RENAMENX key newkey

Correct Answer :   RENAME key newkey


Explanation : RENAME key newkey : Changes the key name.

Advertisement