Redis.randomKey

Return a randomly selected key from the currently selected DB. <p> Time complexity: O(1) @return Singe line reply, specifically the randomly selected key or an empty string is the database is empty

class Redis
string
randomKey
()

Meta