Redis Command Getkeys Command

Redis-Server

Der Redis-Befehl Command Getkeys wird verwendet, um alle Schlüssel abzurufen.

Syntax

Die grundlegende Syntax des Redis-Befehls Command Getkeys lautet wie folgt:

redis 127.0.0.1:6379> COMMAND GETKEYS

Verfügbare Versionen

>= 2.8.13

Rückgabewert

Liste der Schlüssel.

Beispiele

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

Redis-Server

Andere Erweiterungen