COMMAND GETKEYS

Since 1.1.0Server

Syntax

COMMAND GETKEYS command [arg ...]

Returns the keys a command would use, given its arguments.

Examples

> COMMAND GETKEYS MSET a 1 b 2
1) "a"
2) "b"