Latest web development tutorials

Redis Command Getkeys command

Redis server

Redis Command Getkeys command to retrieve all the key.

grammar

redis Command Getkeys basic command syntax is as follows:

redis 127.0.0.1:6379> COMMAND GETKEYS

Available versions

> = 2.8.13

return value

The list of key.

Examples

redis 127.0.0.1:6379> COMMAND GETKEYS MSET a b c d e f 
1) "a"
2) "c"
3) "e"

Redis server