RANDOMKEY

Syntax
RANDOMKEY
Available since:
1.0.0
Time complexity:
O(1)
ACL categories:
@keyspace, @read, @slow,

Return a random key from the currently selected database.

RESP2 Reply

One of the following:

RESP3 Reply

One of the following:


Rate this page