RANDOMKEY
RANDOMKEY
@keyspace, @read, @slow, Return a random key from the currently selected database.
Bulk string reply: the random key, or nil when the database is empty.
© 2006–2022 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/randomkey/