How to get all values in HMSET REDIS

How to display all 3 records in Redis with Key ColorRecord.
The Key ColorRecord is storing different records I am only able to access individual records like HMGETALL ColorRecord:red but i want to see all three records at once . Is there a command for this in Redis

HMSET ColorRecord:red Prod_Color "Red" Prod_Count 12 Prod_Price 300 Prod_Info "In Stock"
HMSET ColorRecord:blue Prod_Color "Blue" Prod_Count 8 Prod_Price 310 Prod_Info "In Stock"
HMSET ColorRecord:green Prod_Color "Blue" Prod_Count 8 Prod_Price 310 Prod_Info "In Stock"


Read more here: https://stackoverflow.com/questions/67395573/how-to-get-all-values-in-hmset-redis

Content Attribution

This content was originally published by Chakra at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: