Redis

RANDOMKEY

Return a random key from the currently selected database.

Return value

Bulk string reply: the random key, or nil when the database is empty.

Comments powered by Disqus