newszine

Redis HVALS – How to get all the values contained in hash value

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to get all the values contained in the hash value stored at a key. For this, we will use Redis HVALS commands. HVALS Command This command returns values of all the field contained in the hash value stored at a specified key. An empty list is returned, if Read More

Redis HLEN – How to get the number of fields contained in hash value

5 years ago Lalit Bhagtani 0
In this tutorial, we will learn about how to get the number of fields contained in the hash value stored at a key, by using a COMMAND – HLEN in redis-cli. The syntax of redis HLEN command is as follows :- Syntax :- redis host:post> HLEN <key name> Output :-  - (integer) value, representing the number Read More