Redis – Server Command Getkeys Command

  • Post author:
  • Post category:Redis
  • Post comments:1 Comment

Redis COMMAND GETKEYS is a helper command to let you find the keys from a full Redis command.

Return Value

Array reply – The list of keys from your command.

Syntax

Following is the basic syntax of Redis COMMAND GETKEYS command.

redis 127.0.0.1:6379> COMMAND GETKEYS

Example

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

This Post Has One Comment

Leave a Reply