In Redis, we can use the HRANDFIELD
command to return random fields from a given hash. By default, only the field names are returned.
But what if we want to include the field values?
In this case, we can use the WITHVALUES
option when calling the command.